FakeData {vtree} | R Documentation |
Fake clinical dataset
Description
A dataset consisting of made-up clinical data. Note that some observations are missing (i.e. NAs).
Usage
FakeData
Format
A small data frame in which the rows represent (imaginary) patients and the columns represent variables of possible clinical relevance.
- id
Integer: Patient ID number
- Group
Factor: Treatment Group, A or B
- Severity
Factor representing severity of condition: Mild, Moderate, or Severe
- Sex
Factor: M or F
- Male
Integer: Sex coded as 1=M, 0=F
- Age
Integer: Age in years, continuous
- Score
Integer: Score on a test
- Category
Factor: single, double, or triple
- Pre
Numeric: initial measurement
- Post
Numeric: measurement taken after something happened
- Post2
Numeric: measurement taken at the very end of the study
- Time
Numeric: time to event, or time of censoring
- Event
Integer: Did the event occur? 1=yes, 0=no (i.e. censoring)
- Ind1
Integer: Indicator variable for a certain characteristic, 1=present, 0=absent
- Ind2
Integer: Indicator variable for a certain characteristic, 1=present, 0=absent
- Ind3
Integer: Indicator variable for a certain characteristic, 1=present, 0=absent
- Ind4
Integer: Indicator variable for a certain characteristic, 1=present, 0=absent
- Viral
Logical: Does this patient have a viral illness?