datebuff: datebuff

View source: R/datebuff.R

datebuffR Documentation

datebuff

Description

datebuff

Usage

datebuff(data, demographics, patients, eve, numdays = 0, use)

Arguments

data

dbmart

demographics

demographics table

patients

a vector of unique patients numbers

eve

the column in the dems table indicating the date for event of interest

numdays

number of buffer days – defaults at 0

use

use data from before or after the buffer days


hestiri/mlho documentation built on March 20, 2023, 11:04 p.m.