S: calculate the probability of having survived infection at...

View source: R/households.R

SR Documentation

calculate the probability of having survived infection at time t

Description

calculate the probability of having survived infection at time t

Usage

S(t, p)

Arguments

t

time at which to calculate the hazard of infection.

p

named vector of parameter values. Contains elements "beta", the transmission parameter; and "m.inf", the mean infectious period

Value

the probability of having survived infection at time t given model parameters


c97sr/learnidd documentation built on Jan. 12, 2025, 4:24 p.m.