
Class constructor for epidist_multivariate objects
Source: R/multivariate.R
new_epidist_multivariate.RdUse this where a study published a mean vector and a covariance matrix
directly, rather than draws they can be computed from. Converting the object
with a family, which needs the draws themselves, is then unavailable.
Usage
new_epidist_multivariate(
value,
vcov,
params,
index = 1,
n_draws = NA_integer_,
draws = NULL
)Arguments
- value
A named numeric vector of the mean of each element.
- vcov
The covariance matrix of
value.- params
A character vector of the parameter names, in order.
- index
The trajectory points, in order. Defaults to a single point.
- n_draws
The number of draws
valueandvcovwere computed from, orNAwhere they were published directly.- draws
A matrix of draws with one row per draw and one column per element of
value, orNULL.