WeibullPrior: WeibullPrior

Description Usage Arguments Value Author(s) Examples

Description

Generate samples from the Weibull prior

Usage

1
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

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

babar documentation built on May 1, 2019, 10:18 p.m.