UI: General UI elements

UIdatanormalizationR Documentation

General UI elements

Description

Some general UI elements for common use where last selected value is stored for reuse:

  • UIplottype plot type, defines smvgraph_type

  • UIpointsymbol plot symbol for point, defines smvgraph_pch

  • UIpointsize point size, defines smvgraph_cex

  • UIlinetype line type, defines smvgraph_lty

  • UIlinewidth line width, defines smvgraph_lwd

  • UItextsize text size, defines smvgraph_tex

  • UIlegend legend position, defines smvgraph_legend

  • UIlegendsize legend size, defines smvgraph_lex

  • UIdatanormalization should data be rescaled, defines smvgraph_normalize (no, minMax, mtandardization)

  • UIdistance distance to use, defines smvgraph_distance

  • UIobservations range of observations, defines smvgraph_obs

  • UImergegroups should a set of grouping variables merged into one group variable, defines smvgraph_single

From the top menu are the following input elements are defined

  • input$smvgraph_pch point symbol,

  • input$smvgraph_cex point size,

  • input$smvgraph_lty line type,

  • input$smvgraph_lwd line width,

  • input$smvgraph_tex text size, and

  • inpus$smvgraph_legend legend position.

Usage

UIdatanormalization(
  sel = getShinyOption("smvgraph.current")$smvgraph_normalize
)

UIdistance(sel = getShinyOption("smvgraph.current")$smvgraph_distance)

UIobservations(n, sel = getShinyOption("smvgraph.current")$smvgraph_obs)

UImergegroups(n, sel = getShinyOption("smvgraph.current")$smvgraph_single)

UIpointsize(n, sel = getShinyOption("smvgraph.current")$smvgraph_cex)

UIpointsymbol(n, sel = getShinyOption("smvgraph.current")$smvgraph_pch)

UIlinewidth(n, sel = getShinyOption("smvgraph.current")$smvgraph_lwd)

UIlinetype(n, sel = getShinyOption("smvgraph.current")$smvgraph_lty)

UItextsize(n, sel = getShinyOption("smvgraph.current")$smvgraph_tex)

UIlegend(n, sel = getShinyOption("smvgraph.current")$smvgraph_legend)

UIlegendsize(n, sel = getShinyOption("smvgraph.current")$mvgraph_lex)

UIplottype(n, sel = getShinyOption("smvgraph.current")$smvgraph_type)

Arguments

sel

selected element

n

integer: number of observations

Value

an UI element for shiny

Examples

# none

sigbertklinke/smvgraph documentation built on Dec. 10, 2022, 9:13 a.m.