How To Install r-cran-spatstat.linnet on Debian 12

Learn how to install r-cran-spatstat.linnet on Debian 12 with this tutorial. r-cran-spatstat.linnet is linear networks functionality of the spatstat family of GNU R

Introduction

In this tutorial we learn how to install r-cran-spatstat.linnet on Debian 12.

What is r-cran-spatstat.linnet

r-cran-spatstat.linnet is:

Defines types of spatial data on a linear network and provides functionality for geometrical operations, data analysis and modelling of data on a linear network, in the ‘spatstat’ family of packages. Contains definitions and support for linear networks, including creation of networks, geometrical measurements, topological connectivity, geometrical operations such as inserting and deleting vertices, intersecting a network with another object, and interactive editing of networks. Data types defined on a network include point patterns, pixel images, functions, and tessellations. Exploratory methods include kernel estimation of intensity on a network, K- functions and pair correlation functions on a network, simulation envelopes, nearest neighbour distance and empty space distance, relative risk estimation with cross-validated bandwidth selection. Formal hypothesis tests of random pattern (chi-squared, Kolmogorov- Smirnov, Monte Carlo, Diggle-Cressie-Loosmore-Ford, Dao-Genton, two- stage Monte Carlo) and tests for covariate effects (Cox-Berman-Waller- Lawson, Kolmogorov-Smirnov, ANOVA) are also supported. Parametric models can be fitted to point pattern data using the function lppm() similar to glm(). Only Poisson models are implemented so far. Models may involve dependence on covariates and dependence on marks. Models are fitted by maximum likelihood. Fitted point process models can be simulated, automatically. Formal hypothesis tests of a fitted model are supported (likelihood ratio test, analysis of deviance, Monte Carlo tests) along with basic tools for model selection (stepwise(), AIC()) and variable selection (sdr). Tools for validating the fitted model include simulation envelopes, residuals, residual plots and Q-Q plots, leverage and influence diagnostics, partial residuals, and added variable plots. Random point patterns on a network can be generated using a variety of models.

There are three methods to install r-cran-spatstat.linnet on Debian 12. 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-spatstat.linnet Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install r-cran-spatstat.linnet using apt-get by running the following command:

sudo apt-get -y install r-cran-spatstat.linnet

Install r-cran-spatstat.linnet Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install r-cran-spatstat.linnet using apt by running the following command:

sudo apt -y install r-cran-spatstat.linnet

Install r-cran-spatstat.linnet Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install r-cran-spatstat.linnet using aptitude by running the following command:

sudo aptitude -y install r-cran-spatstat.linnet

How To Uninstall r-cran-spatstat.linnet on Debian 12

To uninstall only the r-cran-spatstat.linnet package we can use the following command:

sudo apt-get remove r-cran-spatstat.linnet

Uninstall r-cran-spatstat.linnet And Its Dependencies

To uninstall r-cran-spatstat.linnet and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove r-cran-spatstat.linnet

Remove r-cran-spatstat.linnet Configurations and Data

To remove r-cran-spatstat.linnet configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge r-cran-spatstat.linnet

Remove r-cran-spatstat.linnet configuration, data, and all of its dependencies

We can use the following command to remove r-cran-spatstat.linnet configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge r-cran-spatstat.linnet

Dependencies

r-cran-spatstat.linnet have the following dependencies:

References

Summary

In this tutorial we learn how to install r-cran-spatstat.linnet package on Debian 12 using different package management tools: apt, apt-get and aptitude.