Computes the estimated means from a particle cloud.
get_cloud_means(object, ...)# S3 method for PF_EM
get_cloud_means(object, ...)
# S3 method for PF_clouds
get_cloud_means(object, cov_index = NULL,
type = c("smoothed_clouds", "forward_clouds", "backward_clouds"), ...)
object with class PF_EM
or PF_clouds
.
named arguments to pass to the PF_clouds
method.
integer vector with indices of the random effect to include.
character with the type of cloud to compute means for.
A matrix which rows are time indices and columns are random effect indices.