weibullpar: Compute Shape and Scale Parameters for Weibull Distribution

Description Usage Arguments Value See Also Examples

View source: R/weibullpar.R

Description

Compute the parameters shape and scale for Weibull distribution given the mean, standard deviation and location.

Usage

1
weibullpar(mu, sigma, loc = 0)

Arguments

mu

the mean of weibull distribution.

sigma

the standard deviation of weibull distribution.

loc

the location parameter of weibull distribution defaulting to 0.

Value

A data frame containing three parameters, which are, in order, shape, scale, and location.

See Also

weibullparinv for computing mean and standard deviation from the parameters shape, scale and location.

Examples

1
2
weibullpar(2, 1.2)
weibullpar(2, 1.2, 1)

Example output

     shape    scale loc
1 1.717083 2.243026   0
      shape     scale loc
1 0.8376117 0.9106269   1

mixdist documentation built on May 2, 2019, 3:34 p.m.

Related to weibullpar in mixdist...