Learn R Programming

PracticalEquiDesign (version 0.0.3)

WeiMed: Weibull Median

Description

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

Usage

WeiMed(shape, rate)

Arguments

shape

Shape parameter, `alpha`.

rate

Rate parameter, `lambda`.

Value

Numeric median.

Examples

Run this code
# NOT RUN {
# 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)
# }

Run the code above in your browser using DataLab