R/vital_aging_module.R

Defines functions vital_aging_module

Documented in vital_aging_module

#' @title Title
#'
#' @description Description
#'
#' @param x A number.
#' @param y A number.
#' @return return value here.
#' @details
#' Additional details here
#' @examples
#' example function call here

###################################################################
# 
#' @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/Goodreau_et_al_Behavior_-_SPVL documentation built on May 6, 2019, 4:06 p.m.