The survival function of a probability distribution is the probability of surviving after a point x.

survival(object, x1, log = FALSE)

## Arguments

object Distribution. Point to evaluate the survival function at. logical, if TRUE then the (natural) logarithm of the survival function is returned.

## Value

Survival function as a numeric, natural logarithm returned if log is TRUE.

## Details

The survival function is defined by $$S_X(x) = P(X \ge x) = 1 - F_X(x) = \int_x^\infty f_X(x) dx$$ where X is the distribution, $$S_X$$ is the survival function, $$F_X$$ is the cdf and $$f_X$$ is the pdf.

Can only be used after decorating with ExoticStatistics.

## R6 Usage

\$survival(x1, log = FALSE)

ExoticStatistics and decorate