Examples for 'metricsgraphics::mjs_histogram'


Plot Histograms with MetrisGraphics

Aliases: mjs_histogram

Keywords:

### ** Examples

movies <- ggplot2movies::movies[sample(nrow(ggplot2movies::movies), 1000), ]
Error in loadNamespace(x): there is no package called 'ggplot2movies'
mjs_plot(movies$rating) %>% mjs_histogram()
Error in mjs_plot(movies$rating): object 'movies' not found
mjs_plot(movies, rating) %>%
  mjs_histogram() %>%
  mjs_labs(x_label="Histogram of movie ratings")
Error in mjs_plot(movies, rating): object 'movies' not found
mjs_plot(movies$rating) %>%
  mjs_histogram(bins=30)
Error in mjs_plot(movies$rating): object 'movies' not found
mjs_plot(runif(10000)) %>%
  mjs_histogram() %>%
  mjs_labs(x_label="runif(10000)")
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]