View source: R/simulate_logistic_data.R
simulate_logistic_data | R Documentation |
Simulate logistic data
simulate_logistic_data(
subject_n = 50,
time_n = 5,
alpha = as.matrix(c(0, 0.5, -1)),
s1 = 0.5,
sim_seed = 100
)
subject_n |
the number of subjects |
time_n |
the number of time points |
alpha |
FILL |
s1 |
FILL |
sim_seed |
the random seed with which to simulate the data |
a named list
X
Y
b
subject_ind
time_ind
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.