How To Install r-cran-rstatix on Debian 12

Learn how to install r-cran-rstatix on Debian 12 with this tutorial. r-cran-rstatix is Pipe-Friendly Framework for Basic Statistical Tests

Introduction

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

What is r-cran-rstatix

r-cran-rstatix is:

Provides a simple and intuitive pipe-friendly framework, coherent with the ’tidyverse’ design philosophy, for performing basic statistical tests, including t-test, Wilcoxon test, ANOVA, Kruskal-Wallis and correlation analyses. The output of each test is automatically transformed into a tidy data frame to facilitate visualization. Additional functions are available for reshaping, reordering, manipulating and visualizing correlation matrix. Functions are also included to facilitate the analysis of factorial experiments, including purely ‘within-Ss’ designs (repeated measures), purely ‘between-Ss’ designs, and mixed ‘within-and-between-Ss’ designs. It’s also possible to compute several effect size metrics, including “eta squared” for ANOVA, “Cohen’s d” for t-test and ‘Cramer V’ for the association between categorical variables. The package contains helper functions for identifying univariate and multivariate outliers, assessing normality and homogeneity of variances.

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

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

Install r-cran-rstatix Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-rstatix

Install r-cran-rstatix 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-rstatix using aptitude by running the following command:

sudo aptitude -y install r-cran-rstatix

How To Uninstall r-cran-rstatix on Debian 12

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

sudo apt-get remove r-cran-rstatix

Uninstall r-cran-rstatix And Its Dependencies

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

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

Remove r-cran-rstatix Configurations and Data

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

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

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

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

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

Dependencies

r-cran-rstatix have the following dependencies:

References

Summary

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