Learn R Programming

tpwb (version 0.1.0)

pdfplot: Probability density function plot of the three-parameter Weibull distribution

Description

Probability density function plot of the three-parameter Weibull distribution with specified shape, scale and location.

Usage

pdfplot(x, shape, scale, location)

Value

Probability density function plot of the three-parameter Weibull distribution.

Arguments

x

vector of quantiles

shape

shape parameter (\(\beta\)) of the three-parameter Weibull distribution, where \(\beta >0\).

scale

scale parameter (\(\alpha\)) of the three-parameter Weibull distribution, where \(\alpha > 0\).

location

location parameter (\(\delta\)) of the three-parameter Weibull distribution, where \(\delta \ge 0\).

References

Johnson, N. L., Kotz, S. and Balakrishnan, N. (1995) Continuous Univariate Distributions, volume 1, chapter 21. Wiley, New York.

Examples

Run this code
x <- rtpwb(100,1.5,2,1)
pdfplot(x,1.5,2,1)

Run the code above in your browser using DataLab