example workflow CRAN status CRAN RStudio mirror downloads CRAN RStudio mirror downloads

idarps (Introduction to Data Analytics with R for Pharmaceutical Sciences)

The idarps R package offers datasets and functions specifically designed for the “Modelling and Data Analysis for Pharmaceutical Sciences” course given at the University of Geneva in the M.Sc. of Pharmaceutical Sciences. These datasets are curated to showcase diverse methods of data analysis and statistical modeling, focusing on applications within the context of Health science. Additionally, the package includes a range of functions dedicated to data visualization.

Installation

The idarps package is available on both CRAN and GitHub. The CRAN version is considered stable while the GitHub version is subject to modifications/updates which may lead to installation problems or broken functions. You can install the stable version of the idarps package with:

Installation from CRAN

install.packages("idarps")

Installation from GitHub

For users who are interested in having the latest developments, the GitHub version is ideal although more dependencies are required to run a stable version of the package.

You can install idarps from GitHub with:

# install.packages("devtools")
devtools::install_github("SMAC-Group/idarps")

Loading data

idarps proposes various datasets to work with. Namely,

To load a dataset, assuming that idarps is loaded in your environment (library(idarps)), you can use:

data(dataset_name)

You can obtain the description of the dataset with:

help(dataset_name)