datebuff | R Documentation |
datebuff
datebuff(data, demographics, patients, eve, numdays = 0, use)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.