Learn R Programming

algebraic.dist (version 0.9.1)

cdf.weibull_dist: Cumulative distribution function for a Weibull distribution.

Description

Returns a function that evaluates the Weibull CDF at given points.

Usage

# S3 method for weibull_dist
cdf(x, ...)

Value

A function function(q, log.p = FALSE, ...) returning the CDF (or log-CDF) at q.

Arguments

x

A weibull_dist object.

...

Additional arguments (not used).

Examples

Run this code
x <- weibull_dist(shape = 2, scale = 3)
F <- cdf(x)
F(1)
F(3)

Run the code above in your browser using DataLab