Learn R Programming

babar (version 1.0)

JeffreysPrior: JeffreysPrior

Description

Generate samples from the Jeffreys prior

Usage

JeffreysPrior(u, log10lowerBound, log10upperBound)

Arguments

u
Input scalar/vector of values between 0 and 1
log10lowerBound
Base 10 logarithm of the lower bound
log10upperBound
Base 10 logarithm of the upper bound

Value

Examples

Run this code
samples <- JeffreysPrior(runif(100), -2, 8)
summary(samples)

Run the code above in your browser using DataLab