shinyPlotExtract: Return Dataframe of Plotting Functions

Description Usage Arguments Value Examples

View source: R/shinyPlotExtract.R

Description

For use in Shiny server. This function returns information (dataframe or list) about each of the plotting function names. Function names should be of the format "shinyFun_one_FunctionName", "shinyFun_two_FunctionName", "shinyFun_poly_FunctionName", where "one", "two", and "poly" tell the app how many input datasets the function can handle. If function can handle two or more, copy/paste function with new names. "FunctionName" is the name of the function as it will appear in the Shiny interface. Any underscores after c("one", "two", "poly") will be converted to spaces.

Usage

1
shinyPlotExtract(numD = NULL, pkg = "METsteps")

Arguments

numD

Character, optional; If set to one of c('one', 'two', 'poly'), returns a list of functions for that number of input datasets names with formal names ("FunctionName"). If set to NULL, returns dataframe of all 'shinyFun_' functions. Defaults to NULL.

pkg

Character; Which package to look in for function names? Defaults to "METsteps".

Value

Numeric vector.

Examples

1

ssaxe-usgs/METsteps documentation built on May 5, 2019, 5:54 p.m.