simdata_louzhasun2014_sim_i1: Simulate Data based on Luo amd Zhang and Sun 2014

Description Usage Arguments Value References Examples

View source: R/simulate.R

Description

Simulate Data based on Luo amd Zhang and Sun 2014

Usage

1
2
simdata_louzhasun2014_sim_i1(nobs, setting, rtype = c("list",
  "data.frame"))

Arguments

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 "list" and "data.frame".

Value

depending on rtype either a list or a data.frame.

References

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.

Examples

1

lb documentation built on Feb. 19, 2020, 3:01 a.m.