MCMC.date: Convert dates to a list of extendend natural numbers.

Description Usage Arguments Details Value

View source: R/MCMC.functions.R

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

1
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.


SIRmcmc documentation built on Nov. 23, 2021, 9:09 a.m.

Related to MCMC.date in SIRmcmc...