GaussianPrior {babar}R Documentation

GaussianPrior

Description

Generate samples from normal distribution

Usage

GaussianPrior(u, mean, sd)

Arguments

u

Input scalar/vector of values between 0 and 1

mean

mean

sd

standard deviation

Value

Samples from normal distribution

Author(s)

Lydia Rickett, Matthew Hartley, Richard Morris and Nick Pullen

Examples

samples <- GaussianPrior(runif(100), 5, 1)
summary(samples)

[Package babar version 1.0 Index]