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