Learn R Programming

algebraic.dist (version 0.1.0)

surv.exponential: Method to obtain the cdf of an exponential object.

Description

Method to obtain the cdf of an exponential object.

Usage

# S3 method for exponential
surv(x, ...)

Value

A function that computes the cdf of the exponential. Accepts as input a vector t at which to compute the cdf, an input rate

denoting the failure rate of the exponential distribution, and a logical log indicating whether to compute the log of the cdf. By default, rate is the failure rate of object x.

Arguments

x

The object to obtain the pdf of

...

Additional arguments (not used)