createInteractiveChoices: createInteractiveChoices

Description Usage Arguments Value

View source: R/createInteractiveChoices.R

Description

Generates list of prediction metrics for user to select to plot in RShiny based on modeled parameters

Executed By: shinyMap2.R

Usage

1
2
createInteractiveChoices(SelParmValues, existPredict, subdata, data_names,
  map_uncertainties)

Arguments

SelParmValues

selected parameters from parameters.csv using condition ifelse((parmMax > 0 | (parmType=="DELIVF" & parmMax>=0)) & (parmMin<parmMax) & ((parmType=="SOURCE" & parmMin>=0) | parmType!="SOURCE")

existPredict

logical TRUE/FALSE whether predict.list is available in shiny environment

subdata

data.frame input data (subdata)

data_names

data.frame of variable metadata from data_Dictionary.csv file

map_uncertainties

Vector of user selected uncertainty parameters to map, if uncertainty analysis was not run NA

Value

Choices data.frame of parameter metrics by type ("Load Predictions", "Yield


tbep-tech/tbepRSparrow documentation built on Oct. 9, 2020, 6:24 a.m.