app_widgets {GenEst}R Documentation

Create and manage widgets for data input, function execution, data output

Description

This is a generalized function for creating a data input widget used in the GenEst GUI, based on the data type (dataType). Included within the widget is a conditional panel that allows removal of the specific data file (and clearing of all downstream models) once it has been loaded.

Usage

dataInputWidget(dataType)

dataDownloadWidget(set)

modelInputWidget(inType)

widgetMaker(Condition, Name, Fun, Label, Args)

modelRunWidget(modType)

preTextMaker(modType)

modelOutputWidget(modType)

splitButtonWidget()

modelSelectionWidget(mods, modType)

modelSelectionWidgetHeader(mods)

modelSelectionWidgetRow(mods, modType, sci)

kFixedWidget(sizeclasses)

kFixedWidgetHeader(sizeclasses)

kFixedWidgetRow(sizeclasses, sci)

Arguments

dataType

Toggle control for the model type of the widget. One of "SE", "CP", "SS", "DWP", or "CO".

set

Name of data set. One of "RP", "RPbat", "cleared", "powerTower", "PV", "trough", "mock"

inType

Toggle control for the input type of the widget. One of "nsim", "CL", "class", "obsSE", "predsSE", "kFixed", "ltp", "fta", "predsCP", "dist", "xID", "frac", "DWPCol", "COdate", "gSearchInterval", or "gSearchMax".

Condition

Condition under which the widget is present to the user.

Name

Name (id) of the widget created.

Fun

Function name (as character) used to create the widget.

Label

Label presented to the user in the UI for the widget.

Args

List of any additional arguments to be passed to the widget creating function.

modType

Toggle control for the model type of the widget. One of "SE", "CP", "M", or "g".

mods

Model Set Size object (from the reactive values list).

sci

Name of carcass class element

sizeclasses

Vector of carcass class names (from the reactive values list).

Value

HTML for the data input widget.


[Package GenEst version 1.4.9 Index]