
Last chance! 50% off unlimited learning
Sale ends in
Constructs the survival function for a parameter distribution.
SurvFunc(dist, theta)
Survival function.
String, distribution name.
Numeric parameter vector.
The parameter vector theta should contain the following elements, in order, according to the distribution:
Rate
Shape
Shape 1
Locaion
Shape
# Survival function for the generalized gamma.
surv <- SurvFunc(dist = "gen-gamma", theta = c(2, 2, 2))
# Evaluation.
surv(1.0)
Run the code above in your browser using DataLab