Question: script.R Daily XP 3 6 0 0 : Light Mode 1 # Use the table from the exercise to define the comments and scores vectors
script.R
Daily XP
: Light Mode
# Use the table from the exercise to define the comments and scores vectors
scores c
comments cI would watch it again", "Amazing!", "I liked it "One of the best movies", "Fascinating plot"
# Save the average of the scores vector as avgreview
avgreview meanscores
# Combine scores and comments into the reviewsdf data frame
reviewsdf data.frame
# Create and print out a list, called departedlist
departedlist listmovieactors, movieactors, reviewsdf avgreview
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
