simulate_logistic_data: Simulate logistic data
Description
Simulate logistic data
Usage
simulate_logistic_data(
subject_n = 50,
time_n = 5,
alpha = as.matrix(c(0, 0.5, -1)),
s1 = 0.5,
sim_seed = 100
)
Value
a named list
X
Y
b
subject_ind
time_ind
Arguments
- 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