Description Usage Arguments Value Examples
Simulate Observations from a model created by create_model
1 | simulate_from_model(model)
|
model |
An object as created by create_model |
A n times p matrix of simulated data.
1 2 3 | # Simulate 100 observations from a 10-dimensional chain network with two changepoints
model <- create_model(3, 100, 10, ChainNetwork)
x <- simulate_from_model(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.