How To Install r-cran-sjstats on Kali Linux

In this tutorial we learn how to install r-cran-sjstats on Kali Linux. r-cran-sjstats is GNU R collection of convenient functions for statistical computations

Introduction

In this tutorial we learn how to install r-cran-sjstats on Kali Linux.

What is r-cran-sjstats

r-cran-sjstats is:

Collection of convenient functions for common statistical computations, which are not directly provided by R’s base or stats packages. This package aims at providing, first, shortcuts for statistical measures, which otherwise could only be calculated with additional effort (like standard errors or root mean squared errors). Second, these shortcut functions are generic (if appropriate), and can be applied not only to vectors, but also to other objects as well (e.g., the Coefficient of Variation can be computed for vectors, linear models, or linear mixed models; the r2()-function returns the r-squared value for ’lm’, ‘glm’, ‘merMod’ or ’lme’ objects). The focus of most functions lies on summary statistics or fit measures for regression models, including generalized linear models and mixed effects models. However, some of the functions also deal with other statistical measures, like Cronbach’s Alpha, Cramer’s V, Phi etc.

There are three methods to install r-cran-sjstats 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-sjstats 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-sjstats using apt-get by running the following command:

sudo apt-get -y install r-cran-sjstats

Install r-cran-sjstats Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-sjstats

Install r-cran-sjstats 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 update

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

sudo aptitude -y install r-cran-sjstats

How To Uninstall r-cran-sjstats on Kali Linux

To uninstall only the r-cran-sjstats package we can use the following command:

sudo apt-get remove r-cran-sjstats

Uninstall r-cran-sjstats And Its Dependencies

To uninstall r-cran-sjstats and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove r-cran-sjstats

Remove r-cran-sjstats Configurations and Data

To remove r-cran-sjstats configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge r-cran-sjstats

Remove r-cran-sjstats configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge r-cran-sjstats

Dependencies

r-cran-sjstats have the following dependencies:

References

Summary

In this tutorial we learn how to install r-cran-sjstats package on Kali Linux using different package management tools: apt, apt-get and aptitude.