sim.pastor | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.