The survival function of a probability distribution is the probability of surviving after a point x.
survival(object, x1, log = FALSE)
Point to evaluate the survival function at.
logical, if TRUE then the (natural) logarithm of the survival function is returned.
Survival function as a numeric, natural logarithm returned if
log is TRUE.
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
$survival(x1, log = FALSE)