tutorial_data {BioPred} | R Documentation |
Tutorial Data
Description
A dataset containing sample data for demonstrating the functionalities of the BioPred package.
Usage
data(tutorial_data)
Format
A data frame with the following columns:
- x1
Numeric. A biomarker variable.
- x2
Numeric. A biomarker variable.
- x3
Numeric. A biomarker variable.
- x4
Numeric. A biomarker variable.
- x5
Numeric. A biomarker variable.
- x6
Numeric. A biomarker variable.
- x7
Numeric. A biomarker variable.
- x8
Numeric. A biomarker variable.
- x9
Numeric. A biomarker variable.
- x10
Numeric. A biomarker variable.
- y.con
Numeric. A continuous outcome variable.
- y.bin
Binary. A binary outcome variable, where 0 represents one class and 1 represents another class.
- y.time
Numeric. The time in months, used for survival analysis.
- y.event
Binary. Event indicator variable, where 0 indicates censoring and 1 indicates the event of interest occurred.
- subgroup_label
Binary. Ground truth of subgroup label. In real-world scenarios, this information is typically unavailable.
- treatment
Binary. Treatment indicator variable, where 0 represents control and 1 represents treatment.
- treatment_categorical
Factor. A categorical version of the treatment variable, with levels "Placebo" and "Treatment".
- risk_category
Factor.
Details
This dataset is used to illustrate various functions within the BioPred package, including predictive modeling and subgroup analysis. The columns represent different types of data typically encountered in clinical studies.
Examples
data(tutorial_data)
head(tutorial_data)