weibull_dist: Construct a Weibull distribution object.

View source: R/weibull_dist.R

weibull_distR Documentation

Construct a Weibull distribution object.

Description

Creates an S3 object representing a Weibull distribution with the given shape and scale parameters. The Weibull PDF is

f(t) = (shape/scale)(t/scale)^{shape-1} \exp(-(t/scale)^{shape})

for t > 0.

Usage

weibull_dist(shape, scale)

Arguments

shape

Positive scalar shape parameter.

scale

Positive scalar scale parameter.

Value

A weibull_dist object with classes c("weibull_dist", "univariate_dist", "continuous_dist", "dist").

Examples

x <- weibull_dist(shape = 2, scale = 3)
mean(x)
vcov(x)
format(x)

algebraic.dist documentation built on Feb. 27, 2026, 5:06 p.m.