meanExample {precmed} | R Documentation |
Simulated data with a continuous outcome
Description
A dataset containing a continuous outcome and 6 baseline covariates
Usage
data(meanExample)
Format
A dataframe with 4000 rows (patients) and 9 variables:
- age
age at baseline, centered to 48 years old, in years
- female
sex, 0 for male, 1 for female
- previous_treatment
previous treatment, "drugA", "drugB", or "drugC"
- previous_cost
previous medical cost, in US dollars
- previous_number_symptoms
previous number of symptoms, "0", "1", or ">=2"
- previous_number_relapses
previous number of relapses
- trt
current treatment, "drug0" or "drug1"
- y
count oucome, current number of relapses
#'
Examples
data(meanExample)
str(meanExample)
[Package precmed version 1.0.0 Index]