recovery_data {anovir} | R Documentation |
Simulated data allowing for recovery from infection, where recovered individuals experience the same background mortality as uninfected individuals.
recovery_data
An object of class data.frame
with 120 rows and 10 columns.
A dataframe
indicator variables identifying individuals in the control treatment that died (control.d = 1) or were censored (control.c = 1)
indicator variables identifying individuals in the infected treatment that died (infected.d = 1) or were censored (infected.c = 1) while still infected
indicator variables indenifying individuals in the infected treatment that died (recovered.d = 1) or were censored (recovered.c = 1) after recovering from infection
'0' not censored, '1' censored
death indicator: '1' died, '0'
time of the event (death or censoring)
frequence or number of individuals associated with the event of death or censoring at time t
head(recovery_data) ; tail(recovery_data)