Learn R Programming

adestr (version 1.0.0)

NormalPrior: Normal prior distribution for the parameter mu

Description

Normal prior distribution for the parameter mu

Usage

NormalPrior(mu = 0, sigma = 1)

Value

an object of class NormalPrior. This object can be supplied as the argument mu of the evaluate_estimator function to calculate performance scores weighted by a prior.

Arguments

mu

mean of prior distribution.

sigma

standard deviation of the prior distribution.

Examples

Run this code
NormalPrior(mu = 0, sigma = 1)

Run the code above in your browser using DataLab