movies_sample: Random sample of 68 action and romance movies

Description Usage Format See Also Examples

Description

A random sample of 32 action movies and 36 romance movies from https://www.imdb.com/ and their ratings.

Usage

1

Format

A data frame of 68 rows movies.

title

Movie title

year

Year released

rating

IMDb rating out of 10 stars

genre

Action or Romance

See Also

This data was sampled from the 'movies' data frame in the ggplot2movies package.

Examples

1
2
3
4
5
6
library(ggplot2)

# Visualize relationship between rating and genre
ggplot(data = movies_sample, aes(x = genre, y = rating)) +
  geom_boxplot() +
  labs(x = "Genre: Action or Romance", y = "IMDb rating")

tessington/qsci381 documentation built on Sept. 26, 2020, 12:40 p.m.