Skip to contents

P(X > x) = exp(-(x / scale)^shape), as stats::dweibull(). Heavier than exponential below shape 1. Properties: d@shape, d@scale.

Usage

weibull_distribution(shape, scale, ptr = NULL)

Arguments

shape, scale

Finite and positive.

ptr

Internal: an existing object to wrap.

Value

A weibull_distribution object, which inherits from distribution.

Details

Supports the same operations as pareto.

Examples

w <- weibull_distribution(0.7, 1000)
stop_loss(w, 5000)
#> [1] 118.6496