simregimes | R Documentation |
Simulate data to demonstrate methods in regimes package.
simregimes(scenario, seed, ...)
scenario |
Model to be simulated from. Options include: acpme1, acpme2, bdlim1, ..., bdlim5. |
seed |
An optional random seed. |
... |
Additional options for specific simulated data sets. |
A list containing the simulated data, true paramters, and opts which speficies the scenario being simulated from.
dat_acpme1 <- simregimes(scenario="acpme1", seed=1234, n=200, p=100)
dat_acpme2 <- simregimes(scenario="acpme2", seed=1234, n=200, p=100, m.main=3)
dat_bdlim1 <- simregimes(scenario="bdlim1", seed=1234, n=200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.