widgetNormal: Widget for a normal distribution

Description Usage Arguments Details Value See Also Examples

View source: R/widgetNormal.R

Description

Widget for a normal distribution

Usage

1
widgetNormal(inputId, mean = list(), sd = list(), lang = NULL)

Arguments

inputId

character: widget name

mean

sliderInput parameter for the mean of the normal distribution (default: list(), see Details)

sd

sliderInput parameter for the standard deviation of the normal distribution (default: list(), see Details)

lang

widget: language widget

Details

For mean and sd a named list with the parameters for sliderInput can be given. If just a numeric value is given then the according UI element is not drawn, but this value delivered back by getValues.

Value

a widget object (environment)

See Also

sliderInput, dnorm

Examples

1
2
3
4
5
6
7
8
## Not run: 
  shinyDemo('testNormal')
  shinyDemo('testNormalConst')
  shinyDemo('testNormalLang')
  shinyDemo('testNormalInputId')
  shinyDemo('mmstatContinuousDistribution')

## End(Not run)

sigbertklinke/mmstat documentation built on May 14, 2019, 8:36 a.m.