Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

createPrior

Create prior generic


Description

Create prior generic

Usage

createPrior(x, ...)

Arguments

x

a vector of x values at which the prior is to be specified (the support of the prior).

...

optional exta arguments. Not currently used.

Value

a linear interpolation function where the weights have been scaled so the function (numerically) integrates to 1.


Bolstad

Functions for Elementary Bayesian Inference

v0.2-41
GPL (>= 2)
Authors
James Curran [aut, cre]
Initial release
2020-09-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.