R/datebuff.R
datebuff.Rd
datebuff
datebuff(data, demographics, patients, eve, numdays = 0, use)
dbmart
demographics table
a vector of unique patients numbers
the column in the dems table indicating the date for event of interest
number of buffer days -- defaults at 0
use data from before or after the buffer days