Mock study data for examples
Mock clinical study data for examples to test data manipulation and statistical functions.
The function muck_up_mockstudy()
is used in examples for comparedf
.
mockstudy muck_up_mockstudy()
A data frame with 1499 observations on the following 15 variables:
case
a numeric identifier-patient ID
age
age in years
arm
treatment arm divided into 3 groups, character string
sex
a factor with levels Male
Female
race
self-reported race/ethnicity, character string
fu.time
survival or censoring time in years
fu.stat
censoring status; 1=censor, 2=death
ps
integer, ECOG performance score
hgb
numeric, hemoglobin count
bmi
numeric, body mass index, kg/m^2
alk.phos
numeric, alkaline phosphatase
ast
numeric, aspartate transaminase
mdquality.s
integer, LASA QOL 0=Clinically Deficient, 1=Not Clinically Deficient
age.ord
an ordered factor split of age, with levels
10-19
< 20-29
< 30-39
< 40-49
<
50-59
< 60-69
< 70-79
< 80-89
An object of class data.frame
with 1499 rows and 14 columns.
data(mockstudy) str(mockstudy)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.