WeiMed: Weibull Median

Description Usage Arguments Value Examples

View source: R/sup_prob.R

Description

Calculate the median of a Weibull distribution from the shape and rate.

Usage

1
WeiMed(shape, rate)

Arguments

shape

Shape parameter, 'alpha'.

rate

Rate parameter, 'lambda'.

Value

Numeric median.

Examples

1
2
3
# In the case of shape = 1 and rate = 1, the distribution
# is exponential, and the median is log(2).
med <- WeiMed(shape = 1, rate = 1)

PracticalEquiDesign documentation built on Dec. 6, 2021, 9:08 a.m.