How To Install r-cran-spdep on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-spdep
on Kali Linux.
What is r-cran-spdep
r-cran-spdep is:
A collection of functions to create spatial weights matrix objects from polygon contiguities, from point patterns by distance and tessellations, for summarizing these objects, and for permitting their use in spatial data analysis, including regional aggregation by minimum spanning tree; a collection of tests for spatial autocorrelation, including global Moran’s I, APLE, Geary’s C, Hubert/Mantel general cross product statistic, Empirical Bayes estimates and Assun??o/Reis Index, Getis/Ord G and multicoloured join count statistics, local Moran’s I and Getis/Ord G, saddlepoint approximations and exact tests for global and local Moran’s I; and functions for estimating spatial simultaneous autoregressive (SAR) lag and error models, impact measures for lag models, weighted and unweighted SAR and CAR spatial regression models, semi-parametric and Moran eigenvector spatial filtering, GM SAR error models, and generalized spatial two stage least squares models.
There are three methods to install r-cran-spdep
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-spdep Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install r-cran-spdep
using apt-get
by running the following command:
Install r-cran-spdep Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install r-cran-spdep
using apt
by running the following command:
Install r-cran-spdep 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.
After updating apt database, We can install r-cran-spdep
using aptitude
by running the following command:
How To Uninstall r-cran-spdep on Kali Linux
To uninstall only the r-cran-spdep
package we can use the following command:
Uninstall r-cran-spdep And Its Dependencies
To uninstall r-cran-spdep
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove r-cran-spdep Configurations and Data
To remove r-cran-spdep
configuration and data from Kali Linux we can use the following command:
Remove r-cran-spdep configuration, data, and all of its dependencies
We can use the following command to remove r-cran-spdep
configurations, data and all of its dependencies, we can use the following command:
Dependencies
r-cran-spdep have the following dependencies:
- r-base-core
- r-api-4.0
- r-cran-sp
- r-cran-spdata
- r-cran-sf
- r-cran-deldir
- r-cran-boot
- r-cran-matrix
- r-cran-learnbayes
- r-cran-mass
- r-cran-coda
- r-cran-expm
- r-cran-gmodels
- r-cran-nlme
- libblas3
- libc6
References
Summary
In this tutorial we learn how to install r-cran-spdep
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.