This method checks whether a 'FluMoDL' or 'summary.FluMoDL' object contains a cross-basis term for RSV (Respiratory Syncytial Virus) incidence proxy, or contains only terms for influenza incidence proxies.
hasRSV(x)
Arguments
x: An object of class FluMoDL or summary.FluMoDL
Returns
TRUE if the model contains a term for RSV, FALSE if it does not.
Examples
data(greece)# Use example surveillance data from Greecem <- with(greece, fitFluMoDL(deaths = daily$deaths, temp = daily$temp, dates = daily$date, proxyH1 = weekly$ILI * weekly$ppH1, proxyH3 = weekly$ILI * weekly$ppH3, proxyB = weekly$ILI * weekly$ppB, yearweek = weekly$yearweek))hasRSV(m)# Returns FALSEhasRSV(summary(m))# Also returns FALSE