6.2 Recommendations Worth a Million: An Introduction to Clustering

6.2 Recommendations Worth a Million: An Introduction to Clustering

Quick Question

 

Using the table function in R, please answer the following questions about the dataset “movies”.

How many movies are classified as comedies?

Exercise 1

 Numerical Response 

 

How many movies are classified as westerns?

Exercise 2

 Numerical Response 

 

How many movies are classified as romance AND drama?

Exercise 3

 Numerical Response 

 

Explanation

You can answer these questions by using the following commands:

table(movies$Comedy)

table(movies$Western)

table(movies$Romance, movies$Drama)

CheckShow Answer

 

Course Info

Learning Resource Types

theaters Lecture Videos
notes Lecture Notes
assignment_turned_in Problem Sets with Solutions