shinyMCSS: Generate a basic interactive applet for a SimDesign dataset

Description Usage Arguments References See Also Examples

View source: R/shinyMCSS.R

Description

shinyMCSS generates an interactive applet for the presentation and analysis of a SimDesign dataframe. The backend was created using the shiny package. The default applet is relatively straightforward, but allows for the exporting of the relavant server and ui files to allow further customization.

Usage

1
shinyMCSS(dataframe = NULL, percents = FALSE, ndigits = 2)

Arguments

dataframe

an optional dataframe object of class SimDesign. If omitted, the app will load data(Brown1974).

percents

Boolean, indicating whether to display numeric simulation results as percentages.

ndigits

Integer. If percents is true, how many digits should be printed?

References

Sigal, M. J., & Chalmers, R. P. (2016). Play it again: Teaching statistics with Monte Carlo simulation. Journal of Statistics Education, 24(3), 136-156. http://www.tandfonline.com/doi/full/10.1080/10691898.2016.1246953

See Also

Brown1974

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Load default internal dataset:
shinyMCSS()

# Example of passing a SimDesign dataset from the current global environment:
data(Brown1974)
shinyMCSS(Brown1974)

## End(Not run)

mattsigal/SimDisplay documentation built on May 21, 2019, 1:25 p.m.