Learn R Programming

babar (version 1.0)

WeibullPrior: WeibullPrior

Description

Generate samples from the Weibull prior

Usage

WeibullPrior(u, shape, scale)

Arguments

u
Input scalar/vector of values between 0 and 1
shape
The shape parameter of the distriubtion
scale
The scale parameter of the distribution

Value

Examples

Run this code
samples <- WeibullPrior(runif(100), 5, 5)
summary(samples)

Run the code above in your browser using DataLab