Description Usage Arguments Value References Examples
Simulate Data based on Luo amd Zhang and Sun 2014
1 2 | 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.
1 | d <- simdata_louzhasun2014_sim_i1(nobs = 200, 1L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.