createData {TCPMOR} | R Documentation |
Generate simulation data
Description
Generate simulation data
Usage
createData(n, seed = 123589)
Arguments
n |
The total number of observations to generate |
seed |
Randomized seeds for ensuring reproducible results |
Value
A data frame containing age and a binary outcome variable
Examples
dataC <- createData(200)
[Package TCPMOR version 1.0 Index]