R

R

Merging consecutive or overlapping time periods in R

I had a table something like this: patient_id <- c(rep(100,5), rep(101,6)) drug <- c(rep("A",3), rep("B",2...
R

Visualizing prescription drugs using a Dumbbell chart in R

In this post, I am going to show you how to visualize prescription periods of drugs using a Dumbbell chart in R. lib...
R

Calculating AUC using the R package PK

Pharmacokinetic (PK) studies aim to understand the kinetics of absorption, distribution, metabolism, and elimination (A...
R

Use R in Jupyter Lab on macOS

Here I am assuming that you have a Python virtual environment in which you set up Jupyter Lab in macOS 10.15. Activa...
R

Install an R package from source

Today I tried to install the R package IPWsurvival package from the CRAN repository and found that the package was remo...
R

Create a Gantt chart using ganttrify

This post shows you how to create a Gantt chart using the R package ganttrify. First, install the package from GitHub. ...
Copied title and URL