powered by
Create a scenario to run the evaluation functions.
initialize_example(n.i = 5, n = 30, q = 4, total.beta = 9, true.beta = c(1, 1, 1), seed = NULL)
integer, Observations per subject, Default: 5
integer, Number of subjects, Default: 30
integer, Number of random effects, Default: 4
integer, Number of simulated fixed effects, Default: 9
numeric, True of fixed effects indicies, Default: c(1,1,1)
integer, set a seed for reproducibility, Default: NULL
(n.i*n) x (1+total.beta+q) matrix containing where the subjects index are the matrix rownames
rmvnorm
# NOT RUN { initialize_example(n.i = 5,n = 30,q=4,seed=1) initialize_example(n.i = 10,n = 60,q=4,seed=1) initialize_example(n.i = 5,n = 60,q=10,seed=1) # }
Run the code above in your browser using DataLab