Learn R Programming

zebu (version 0.1.3.0)

trial: Resistance to drug treatment

Description

Simulated clinical trial where patient recovery is dependent on drug intake and resistance status.

Usage

trial

Arguments

Format

A data frame with 100 rows and 3 variables:

drug

binary variable (placebo, drug), did patient receive drug

resistance

binary variable (sensitive, resistant), is patient resistance to drug

prebiom

continuous variable between 0 and 1, biomarker that represents health status of patient before treatment; healthy patients have values around 0.6

postbiom

continuous variable between 0 and 1, biomarker that represents health status of patient after treatment; healthy patients have values above 0.6