Learn R Programming

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,

  • bronchitis
  • codex
  • cortisol
  • covid
  • data_covid_switzerland
  • diet
  • fev
  • HP13Cbicarbonate
  • pharmacy
  • reading
  • snoring
  • students

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)

Copy Link

Version

Install

install.packages('idarps')

Monthly Downloads

687

Version

0.0.5

License

AGPL-3

Maintainer

Lionel Voirol

Last Published

May 2nd, 2025

Functions in idarps (0.0.5)

reading

Reading
snoring

Snoring
fev

Forced Expiratory Volume
hist_compare_to_normal

hist_compare_to_normal
diabetes

Diabetes study in Bangladesh
diet

Diet
pharmacy

Customer attendance of a pharmacy in Geneva
bronchitis

Bronchitis
codex

codex
covid

Intensive care admission of COVID-19 patients in Belgium
centenarian

Centenarian Blood Pressure
PeruvianBP

Peruvian Blood Pressure
boxplot_w_points

boxplot_w_points
HP13Cbicarbonate

HP13Cbicarbonate
BreastCancer

Breast Cancer
data_covid_switzerland_spatial

COVID-19 Spatial
kuwait_bp

Kuwait Blood Pressure
cortisol

Biomarkers in pigs fed with various diets
students

Students