Learn R Programming

gestate (version 1.3.2)

Weibull: Weibull Curve constructor function

Description

This creates a Curve object for a Weibull distribution. Curve objects contain all necessary information to describe a distribution, including functions and parameters describing it. Parameterisation follows that used by pweibull etc. See Details for more information on parameterisation.

Usage

Weibull(alpha, beta = 1)

Arguments

alpha

Scale parameter for Weibull distribution.

beta

Shape parameter for Weibull distribution. Default is 1; an exponential distribution.

Details

The Weibull distribution with shape parameter beta and scale parameter alpha has parameterisation: f(x) = (beta/alpha) (x/alpha)^(beta-1) exp(- (x/alpha)^beta) F(x) = 1 - exp(- (x/alpha)^beta)

Examples

Run this code
# NOT RUN {
Weibull(alpha=100,beta=0.8)
# }

Run the code above in your browser using DataLab