Description Usage Arguments Author(s) References
View source: R/nonparametric.R
Calculates Nelson-Aalen or Kaplan-Meier curves for infectious disease transmission using right-censored and/or left truncated data on contact intervals in ordered pairs of individuals and infectious contacts from external sources with individuals.
1 2 3 4 5 6 7 8 9 10 |
formula |
A formula of the form "response ~ terms". The response must
be an object returned by |
sus |
A string giving the name of the variable indicating the susceptible member of each pair. |
data |
A data frame containing the variables named in |
subset |
An expression indicating which rows of |
na.action |
A missing-data filter applied to |
inithaz |
A named hazard function (up to a constant of proportionality) #' to be used in the first iteration. The formal arguments in the function
need to match variable names |
maxit |
The maximum number of EM algorithm iterations. |
Eben Kenah kenah.1@osu.edu
E Kenah (2013). Nonparametric survival analysis of infectious disease data. Journal of the Royal Statistical Society, Series B 75(2): 277-303.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.