Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise Creating a named list ( 2 ) Being a huge movie fan ( remember your job at LucasFilms ) , you decide to start

Exercise
Creating a named list (2)
Being a huge movie fan (remember your job at LucasFilms), you decide to start storing information on good movies with the help of lists.
Start by creating a list for the movie "The Shining". We have already created the variables, act and rev in your R workspace. Feel free to check them out in the console.
Instructions
Complete the code in the editor to create shining_list ; it contains three elements:
: a character string with the movie title (stored in a vector with the main actors' names (stored in act)
a data frame that contains some reviews (stored in
Do not forget to name the list components accordingly (names are moviename , actors and reviews).
script.R
1 # The variables mov, act and rev are available
2
3 # Finish the code to build shining_list
4 shining_list - list(moviename = mov)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions