pfilter(object, ...)
## S3 method for class 'pomp':
pfilter(object, params, Np, tol = 1e-17,
max.fail = 0, pred.mean = FALSE, pred.var = FALSE,
filter.mean = FALSE, save.states = FALSE,
verbose = getOption("verbose"), ...)
## S3 method for class 'mif':
pfilter(object, params, Np, tol = 1e-17,
max.fail = 0, pred.mean = FALSE, pred.var = FALSE,
filter.mean = FALSE, \dots)object.pred.mean.pred.mean.saves.states=TRUE, the array of state-vectors at each time point, for each particle.
An array with dimensions nvars-by-Np-by-ntimes.
In particular, states[,i,t] can be considered a sample from $f[X|y_{1:t}]$.## See the vignettes for examples.Run the code above in your browser using DataLab