trajectory,SimInf_pfilter-method | R Documentation |
Extract filtered trajectory from running a particle filter
## S4 method for signature 'SimInf_pfilter'
trajectory(model, compartments, index, format = c("data.frame", "matrix"))
model |
the |
compartments |
specify the names of the compartments to
extract data from. The compartments can be specified as a
character vector e.g. |
index |
indices specifying the subset of nodes to include
when extracting data. Default ( |
format |
the default ( |
A data.frame
if format = "data.frame"
, else
a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.