simdata_louzhasun2014_sim_i1 {lb} | R Documentation |
Simulate Data based on Luo amd Zhang and Sun 2014
simdata_louzhasun2014_sim_i1(nobs, setting, rtype = c("list", "data.frame"))
nobs |
number of observations. |
setting |
an integer giving the simulation setting. Allowed values are \{1, 2, 3, 4\}. |
rtype |
a character giving the return type. Allowed values are |
depending on rtype either a list
or a data.frame
.
Ji Luo and Jiajia Zhang and Han Sun. "Estimation of relative risk using a log-binomial model with constraints." Computational Statistics 29.5 (2014): 981-1003.
d <- simdata_louzhasun2014_sim_i1(nobs = 200, 1L)