Learn R Programming

anovir (version 0.1.0)

av_long_uninfected: Average longevity: estimate for uninfected hosts

Description

Calculates expected average longevity due only to background mortality

Usage

av_long_uninfected(a1, b1, d1 = "")

Arguments

a1, b1

numeric: location & scale parameters for background mortality, respectively

d1

character: probability distribution chosen to describe data

Value

a vector

Details

The expected average longevity is calculated as the integral from zero to infinity of the cumulative survival function for background mortality, given values of a1, b1, d1

See Also

av_long_infected

Examples

Run this code
# NOT RUN {
  av_long_uninfected(a1 = 3.0, b1 = 0.6, d1 = "Weibull") #17.947
# }

Run the code above in your browser using DataLab