An open API service indexing awesome lists of open source software.

https://github.com/smac-group/idarps

Package for class "Modelling and Data Analysis for Pharmaceutical Sciences" (Introduction to Data Analytics with R for Pharmaceutical Sciences- idarps))
https://github.com/smac-group/idarps

analytics data-science dataset r

Last synced: 9 months ago
JSON representation

Package for class "Modelling and Data Analysis for Pharmaceutical Sciences" (Introduction to Data Analytics with R for Pharmaceutical Sciences- idarps))

Awesome Lists containing this project

README

          

![example workflow](https://github.com/SMAC-Group/idarps/actions/workflows/R-CMD-check.yaml/badge.svg)
[![CRAN status](https://www.r-pkg.org/badges/version/idarps)](https://CRAN.R-project.org/package=idarps)
![](https://img.shields.io/github/last-commit/SMAC-Group/idarps)
[](https://s-a.github.io/license/?license=agpl-3.0&fullname=Stephan%20Ahlf&year=2015&profile=https://github.com/s-a&projectUrl=https://github.com/s-a/license&projectName=License%20Demo "")
[![CRAN RStudio mirror
downloads](http://cranlogs.r-pkg.org/badges/idarps)](https://www.r-pkg.org/pkg/idarps)
[![CRAN RStudio mirror
downloads](https://cranlogs.r-pkg.org/badges/grand-total/idarps)](https://www.r-pkg.org/pkg/idarps)

# `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

```R
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)
```