#'Critics Ratings vs Audience Ratings Box Plots
#'
#'Displays Critics Ratings vs. Audience Ratings by genre
#'
#'@param
#'
#'@return Box Plots
#'
#'@example
#' \dontrun{
#'boxplot_ratings()
#'}
#'
#'@export
#'
#'
boxplot_ratings <- function(){
u <- ggplot(data=movies, aes(x=Genre, y=AudienceRatings, color=Genre))
u + geom_jitter() + geom_boxplot(size=1.2, alpha=0.5)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.