WeibullPrior {babar}R Documentation

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

Samples from the Weibull prior

Author(s)

Lydia Rickett, Matthew Hartley, Richard Morris and Nick Pullen

Examples

samples <- WeibullPrior(runif(100), 5, 5)
summary(samples)

[Package babar version 1.0 Index]