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

Description Usage Arguments Value Author(s)

View source: R/analyze_x_posterior.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 the density, fv, is calculated

fv

A vector of densities

xknown

Known age [optional]

Value

A list containing the results of the analysis

Author(s)

Michael Holton Price <MichaelHoltonPrice@gmail.com>


eehh-stanford/yada documentation built on June 18, 2020, 8:05 p.m.