sim.pastor {chngpt} | R Documentation |
Simulate data according to one of the scenarios considered in Pastor-Barriuso et al 2003
sim.pastor(seed)
seed |
Seed for the random number generator. |
A data frame with columns: y, x.star, x.star.expit, and x.bin.med (x.star dichotomized at median).
dat=sim.pastor(seed=1)