analyze_x_posterior: Analyze an input density by calculating the mean and...

Description Usage Arguments Value

View source: R/multivariate_models.R

Description

analyze_x_posterior analyzes an input density given by the input pair of vectors xv and fv by calculating the mean and confidence intervals for a handful of quantiles (0.001, 0.025, 0.5, 0.975, and 0.999). xv is assumed to be evenly spaced. Optionally, a known age (xknown) can be input, for which the density is estimated.

Usage

1
analyze_x_posterior(xv, fv, xknown = NA)

Arguments

xv

A vector of evenly spaced ages at which the density, fv, is calculated

fv

A vector of densities

xknown

Known age [optional]

Value

A list containing the results of the analysis


MichaelHoltonPrice/yada documentation built on Sept. 19, 2021, 11:27 p.m.