How To Install r-cran-metafor on Kali Linux

In this tutorial we learn how to install r-cran-metafor on Kali Linux. r-cran-metafor is Meta-Analysis Package for R

Introduction

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

What is r-cran-metafor

r-cran-metafor is:

A comprehensive collection of functions for conducting meta-analyses in R. The package includes functions to calculate various effect sizes or outcome measures, fit fixed-, random-, and mixed-effects models to such data, carry out moderator and meta-regression analyses, and create various types of meta-analytical plots (e.g., forest, funnel, radial, L’Abbe, Baujat, GOSH plots). For meta-analyses of binomial and person- time data, the package also provides functions that implement specialized methods, including the Mantel-Haenszel method, Peto’s method, and a variety of suitable generalized linear (mixed-effects) models (i.e., mixed-effects logistic and Poisson regression models). Finally, the package provides functionality for fitting meta-analytic multivariate/multilevel models that account for non-independent sampling errors and/or true effects (e.g., due to the inclusion of multiple treatment studies, multiple endpoints, or other forms of clustering). Network meta-analyses and meta-analyses accounting for known correlation structures (e.g., due to phylogenetic relatedness) can also be conducted.

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

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

Install r-cran-metafor Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-metafor

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

sudo aptitude -y install r-cran-metafor

How To Uninstall r-cran-metafor on Kali Linux

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

sudo apt-get remove r-cran-metafor

Uninstall r-cran-metafor And Its Dependencies

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

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

Remove r-cran-metafor Configurations and Data

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

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

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

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

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

Dependencies

r-cran-metafor have the following dependencies:

References

Summary

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