MCMC_date {SIRmcmc} | R Documentation |
Convert dates to a list of extendend natural numbers.
Description
Converts dates to a list of numbers representing the number of days from the start of followup until the start of the infectious period.
Usage
MCMC_date(dates,start_date=NULL)
Arguments
dates |
A list of dates. May be of character, numeric, or date class. |
start_date |
The start date of follow up |
Details
Covrerts dates to days of followup until the start of the infectious period. Missing data are set to infinity and are assumed susceptible during followup.
Value
A list of extended natural numbers.
[Package SIRmcmc version 1.1.1 Index]