GenEst (version 1.4.5)

app_utilities: app utilities

Description

utility functions for simple app rv management

Usage

initialReactiveValues()

reVal(rv, toReVal)

setkNeed(rv)

updateColNames_size(rv)

selectData(data, cols)

modNameSplit(modNames, pos)

prepSizeclassText(sizeclasses)

modNamePaste(parts, type = "SE", tab = FALSE)

plotNA(type = "model")

updateSizeclasses(data, sizeCol)

pickSizeclass(sizeclasses, choice)

updatesizeCol(sizeCol, colNames_size)

Arguments

rv

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

toReVal

Names of elements in rv to reset to their factory setting (as defined by initialReactiveValues).

data

data table

cols

column names to select

modNames

names of the model to be split off

pos

position in the name to split off

sizeclasses

names of the carcass classes

parts

the component parts of the model's name

type

"SE" or "CP"

tab

logical for if it's the table output for CP

sizeCol

carcass class column name

choice

carcass class chosen

colNames_size

updated vector of size column names in all needed tables