Examples for 'metricsgraphics::mjs_hist'


Shortcut for plotting MetricsGraphics histograms

Aliases: mjs_hist

Keywords:

### ** Examples

bimod <- c(rnorm(1000, 0, 1), rnorm(1000, 3, 1))

mjs_plot(bimod) %>% mjs_histogram()
Warning in widget_html(name = class(x)[1], package = attr(x, "package"), :
metricsgraphics_html returned an object of class `list` instead of a
`shiny.tag`.
Error in loadNamespace(name): there is no package called 'webshot'
bimod %>% mjs_hist()
Warning in widget_html(name = class(x)[1], package = attr(x, "package"), :
metricsgraphics_html returned an object of class `list` instead of a
`shiny.tag`.
Error in loadNamespace(name): there is no package called 'webshot'
mjs_plot(bimod) %>% mjs_histogram(bins=30)
Warning in widget_html(name = class(x)[1], package = attr(x, "package"), :
metricsgraphics_html returned an object of class `list` instead of a
`shiny.tag`.
Error in loadNamespace(name): there is no package called 'webshot'
bimod %>% mjs_hist(30)
Warning in widget_html(name = class(x)[1], package = attr(x, "package"), :
metricsgraphics_html returned an object of class `list` instead of a
`shiny.tag`.
Error in loadNamespace(name): there is no package called 'webshot'

[Package metricsgraphics version 0.9.0 Index]