editRow_Server {cbpManager}R Documentation

Server logic of module for editing a row

Description

Server logic of module for editing a row

Usage

editRow_Server(
  input,
  output,
  session,
  data,
  patient_ids = NULL,
  dates_first_diagnosis = NULL,
  selected_row = NULL,
  mode = c("timeline", "timepoint")
)

Arguments

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

selected_row

the index of the selected row

mode

Mode of the timeline data. Controls which columns are displayed.

Value

reactive data.frame of modified source data


[Package cbpManager version 1.2.2 Index]