Quick Question
Using the table function in R, please answer the following questions about the dataset "movies".
How many movies are classified as comedies?
How many movies are classified as westerns?
How many movies are classified as romance AND drama?
Explanation
You can answer these questions by using the following commands:
table(movies$Comedy)
table(movies$Western)
table(movies$Romance, movies$Drama)