GenEst (version 1.4.5)

update_rv: Update the reactive value list when an event occurs

Description

When an event occurs in the GenEst GUI, the reactive values need to be updated. This function contains all of the possible updates based on the event options.

Usage

update_rv(eventName, rv, input)

Arguments

eventName

Character name of the event. One of "clear_all", "file_SE", "file_SE_clear", "file_CP", "file_CP_clear", "file_SS", "file_SS_clear", "file_DWP", "file_DWP_clear", "file_CO", "file_CO_clear", "class", "obsSE", "predsSE", "run_SE", "run_SE_clear", "outSEclass", "outSEp", "outSEk", "ltp", "fta", "predsCP", "run_CP", "run_CP_clear", "outCPclass", "outCPdist", "outCPl", "outCPs", "run_M", "run_M_clear", "split_M", "split_M_clear", "transpose_split", "run_g", "run_g_clear", "outgclass", "load_RP", "load_RPbat", "load_cleared", "load_PV", "load_trough", "load_powerTower", or "load_mock"

rv

Reactive values list for the GenEst GUI, created by initialReactiveValues, which calls reactiveValues

input

input list for the GenEst GUI.

Value

Updated rv list.