shift_marginal: Perform a shift on a (list of) marginals

Description Usage Arguments

Description

Add a constant to a INLA's marginal distribution or list of marginals.

Usage

1
shift_marginal(mar, mu)

Arguments

mar

either a single marginal or a list of marginals

mu

numeric. Constant to be added.

INLA's marginals are two-column numeric matrices with abscissas and ordinates. This function adds a constant mu to the ordinates (i.e., second column).


famuvie/2016_RisingAshes documentation built on May 16, 2019, 10:02 a.m.