get_cloud_means: Compute Mean Estimates from Particle Cloud

get_cloud_meansR Documentation

Compute Mean Estimates from Particle Cloud

Description

Computes the estimated means from a particle cloud.

Usage

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"),
  ...
)

Arguments

object

object with class PF_EM or PF_clouds.

...

named arguments to pass to the PF_clouds method.

cov_index

integer vector with indices of the random effect to include.

type

character with the type of cloud to compute means for.

Value

A matrix which rows are time indices and columns are random effect indices.


boennecd/dynamichazard documentation built on Oct. 11, 2022, 2:41 p.m.