calcLogPrior: Calculate log-prior distribution based on input pdfType list

Description Usage Arguments Details Value

View source: R/calcLogPrior.R

Description

Function to calculate log-prior distribution for plotting based on an input pdfType list.

Usage

1
calcLogPrior(pdfType, v = NULL, x = NULL, lci = 0.05, uci = 0.95)

Arguments

pdfType

- the pdfType list

v

- values at which to calculate the prior values

x

- vector of x coordinates used to plot the resulting distribution as a color image

lci

- lower confidence interval for plotting the prior (if v is NULL)

uci

- upper confidence interval for plotting the prior (if v is NULL)

Details

If x is NULL, the function returns values of the log-prior distribution function calculated using v (or coordinates based on the confidence interval). The names of the vector provide the values of v at which the log prior was calculated. If x is given, the function returns a list object of class 'pdfRects', with list elements lp, xl, xr, vl, and vr.

Value

see details


wStockhausen/rTCSAM2015 documentation built on May 3, 2019, 7:14 p.m.