calc_mean_g: Calculate moments of pointmass rv's.

Description Usage Arguments Author(s)

View source: R/ruvb.R

Description

Calculate moments of pointmass rv's.

Usage

1
calc_mean_g(y, g, r = 1)

Arguments

y

A vector of posterior draws.

g

A vector of priors.

r

A positive numeric. The moment to calculate.

Author(s)

David Gerard


dcgerard/vicar documentation built on July 7, 2021, 1:08 p.m.