View source: R/generate_dataset.R
generate_dataset | R Documentation |
This is a wrapper around libbi sample --target joint
--nsamples 1
, to generate a synthetic dataset from a model. Parameters can
be passed via the 'init' option (see run.libbi
, otherwise
they are generated from the prior specified in the model. The end time
should be specified using the "end_time" option. If this is not given, only
a parameter set is sampled. Use the 'noutputs' or 'output_every' options to
control the number of data points being generated. By default, output_every
is set to 1.
generate_dataset(..., output_every = 1)
... |
arguments to be passed to |
output_every |
real; if given, |
a libbi
object, the generated data set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.