get_traces | R Documentation |
This function takes the provided libbi
object
which has been run and returns a data frame with the parameter
traces.
get_traces(x, model, burnin, all = FALSE, ...)
x |
a |
model |
a model to get the parameter names from; not needed if
'run' is given as a |
burnin |
proportion of iterations to discard as burn-in (if between 0 and 1), or number of samples to discard (if >1) |
all |
whether all variables in the run file should be considered (otherwise, just parameters) |
... |
parameters to |
a ata frame with parameter traces; this can be fed to
coda
routines
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.