R/vital_aging_module.R

###################################################################
# 
#' @export
vital_aging_module <- function(dat,at){
  
  ix <- is.element(dat$pop$Status, c(0:1))
  
    dat$pop$age[ix] <- round( dat$pop$age[ix] + (1/365) ,5 )
  
  return(dat)  
}
EvoNetHIV/EvoNetVaccine documentation built on May 6, 2019, 4:06 p.m.