addRow_Server {cbpManager} | R Documentation |
Server logic of module for adding a row
addRow_Server( input, output, session, data, patient_ids = NULL, dates_first_diagnosis = NULL, mode = c("timeline", "timepoint") )
input |
Shiny input |
output |
Shiny output |
session |
Shiny session |
data |
source data as data.frame |
patient_ids |
reactive vector of existing patient IDs |
dates_first_diagnosis |
data.frame with dates of the first diagnosis and patient IDs |
mode |
Mode of the timeline data. Controls which columns are displayed. |
reactive data.frame of modified source data