Learn R Programming

StablePopulation (version 1.0.3)

weibull_survival: Weibull function for the survival rate

Description

This function calculates the survival rate to reach a specific age using the Weibull function.

Usage

weibull_survival(alpha, beta, age)

Value

A numeric value giving the survival rate (probability) for reaching the given age.

Arguments

alpha

A numeric value representing the scale parameter of the Weibull distribution.

beta

A numeric value representing the shape parameter of the Weibull distribution.

age

A numeric value representing the age.

Examples

Run this code
weibull_survival(1.5, 0.8, 10)

Run the code above in your browser using DataLab