How To Install r-cran-surveillance on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-surveillance on Kali Linux.
What is r-cran-surveillance
r-cran-surveillance is:
Statistical methods for the modeling and monitoring of time series of counts, proportions and categorical data, as well as for the modeling of continuous-time point processes of epidemic phenomena.
The monitoring methods focus on aberration detection in count data time series from public health surveillance of communicable diseases, but applications could just as well originate from environmetrics, reliability engineering, econometrics, or social sciences. The package implements many typical outbreak detection procedures such as the (improved) Farrington algorithm, or the negative binomial GLR-CUSUM method of H?hle and Paul (2008) doi:10.1016/j.csda.2008.02.015. A novel CUSUM approach combining logistic and multinomial logistic modeling is also included. The package contains several real-world data sets, the ability to simulate outbreak data, and to visualize the results of the monitoring in a temporal, spatial or spatio-temporal fashion. A recent overview of the available monitoring procedures is given by Salmon et al. (2016) doi:10.18637/jss.v070.i10.
For the retrospective analysis of epidemic spread, the package provides three endemic-epidemic modeling frameworks with tools for visualization, likelihood inference, and simulation. hhh4() estimates models for (multivariate) count time series following Paul and Held (2011) doi:10.1002/sim.4177 and Meyer and Held (2014) doi:10.1214/14-AOAS743. twinSIR() models the susceptible-infectious-recovered (SIR) event history of a fixed population, e.g, epidemics across farms or networks, as a multivariate point process as proposed by H?hle (2009) doi:10.1002/bimj.200900050. twinstim() estimates self-exciting point process models for a spatio-temporal point pattern of infective events, e.g., time-stamped geo-referenced surveillance data, as proposed by Meyer et al. (2012) doi:10.1111/j.1541-0420.2011.01684.x. A recent overview of the implemented space-time modeling frameworks for epidemic phenomena is given by Meyer et al. (2017) doi:10.18637/jss.v077.i11.
There are three methods to install r-cran-surveillance on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install r-cran-surveillance Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install r-cran-surveillance using apt-get by running the following command:
sudo apt-get -y install r-cran-surveillanceInstall r-cran-surveillance Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install r-cran-surveillance using apt by running the following command:
sudo apt -y install r-cran-surveillanceInstall r-cran-surveillance Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install r-cran-surveillance using aptitude by running the following command:
sudo aptitude -y install r-cran-surveillanceHow To Uninstall r-cran-surveillance on Kali Linux
To uninstall only the r-cran-surveillance package we can use the following command:
sudo apt-get remove r-cran-surveillanceUninstall r-cran-surveillance And Its Dependencies
To uninstall r-cran-surveillance and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-surveillanceRemove r-cran-surveillance Configurations and Data
To remove r-cran-surveillance configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-surveillanceRemove r-cran-surveillance configuration, data, and all of its dependencies
We can use the following command to remove r-cran-surveillance configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-surveillanceDependencies
r-cran-surveillance have the following dependencies:
- r-base-core
- r-api-4.0
- r-cran-sp
- r-cran-xtable
- r-cran-rcpp
- r-cran-polycub
- r-cran-mass
- r-cran-matrix
- r-cran-nlme
- r-cran-spatstat.geom
- libc6
- libgcc-s1
- libstdc++6
References
Summary
In this tutorial we learn how to install r-cran-surveillance package on Kali Linux using different package management tools: apt, apt-get and aptitude.