Question: # Use the table from the exercise to define the comments and scores vectors scores < - c ( 4 . 6 , 5 ,
# Use the table from the exercise to define the comments and scores vectors
scores c
comments listI would watch it again","Amazing!","I liked it"One of the best movies","Fascinating plot"
# Save the average of the scores vector as avgreview
avgreviewmeanscores
# Combine scores and comments into the reviewsdf data frame
reviewsdf data.framescorescomments
# Create and print out a list, called departedlist
departedlistlisttitle"The Departed",actorsmovieactors,reviewsreviewsdfaveragereviewavgreview
printdepartedlist
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
