SIM.FUN: Simulate data

Description Usage Arguments Value Examples

Description

Simulate data

Usage

1
2
SIM.FUN(nn, b.G, b.S, rho.S, rho.G, ng.cts, Gtype = "binomial",
  Stype = "cts")

Arguments

Stype

Value

dat

Examples

1
2
3
b0.G = rep(c(0.3,0.5,0.3,0.2,0),c(1,2,3,2,50)); b0.G = rbind(-1,b0.G); p = ncol(b0.G)
b0.S = c(1.5,1.5,2)
mydata0 = SIM.FUN(100,b.G=b0.G,b.S=b0.S,rho.S=0.3,ng.cts=3,rho.G=0.2);

jminnier/emrselect documentation built on May 19, 2019, 1:53 p.m.