calc_weekly_delay: Compute delay between 2 surveys for each participant

View source: R/incidence_utils.R

calc_weekly_delayR Documentation

Compute delay between 2 surveys for each participant

Description

weekly should be ordered by person_id then timestamp !

Usage

calc_weekly_delay(weekly, time.col)

Arguments

weekly

data.frame with at least (person_id, [time.col]) columns

time.col

column containg time value to compute delay from


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.