Question: Use two different R syntaxes for extracting *just* the name of Mike Myers' first movie in the mystery.list. My one answer was: mystery.list$MYERS$MOVIES[[1]]$TITLE str(mystery.list) List

Use two different R syntaxes for extracting *just* the name of Mike Myers' first movie in the mystery.list. My one answer was: mystery.list$MYERS$MOVIES[[1]]$TITLE

str(mystery.list)

List of 3

$ MYERS:List of 2

..$ FULLNAME:List of 2

.. ..$ GIVEN: chr "Mike"

.. ..$ LAST : chr "Myers"

..$ MOVIES:List of 3

.. ..$ :List of 3

.. .. ..$ TITLE: chr "Austin Powers: International Man of Mystery"

.. .. ..$ CHARACTER: chr "Austin Powers"

.. .. ..$ YEAR: num 1997

.. ..$ :List of 3

.. .. ..$ TITLE: chr "Austin Powers: The Spy Who Shagged Me"

.. .. ..$ CHARACTER: chr "Austin Powers"

.. .. ..$ YEAR: num 1999

.. ..$ :List of 3

.. .. ..$ TITLE: chr "Bohemian Rhapsody"

.. .. ..$ CHARACTER: chr "Ray Foster"

.. .. ..$ YEAR: num 2018

$ STONE:List of 2

..$ FULLNAME:List of 2

.. ..$ GIVEN: chr "Emma"

.. ..$ LAST : chr "Stone"

..$ MOVIES:List of 2

.. ..$ :List of 3

.. .. ..$ TITLE: chr "La La Land"

.. .. ..$ CHARACTER: chr "Mia"

.. .. ..$ YEAR: num 2016

.. ..$ :List of 3

.. .. ..$ TITLE: chr "The Favourite"

.. .. ..$ CHARACTER: chr "Austin Powers"

.. .. ..$ YEAR: num 2018

$ WEISZ:List of 2

..$ FULLNAME:List of 2

.. ..$ GIVEN: chr "Rachel"

.. ..$ LAST : chr "Weisz"

..$ MOVIES:List of 2

.. ..$ :List of 3

.. .. ..$ TITLE: chr "The Lobster"

.. .. ..$ CHARACTER: chr "Short Sighted Woman"

.. .. ..$ YEAR: num 2015

.. ..$ :List of 3

.. .. ..$ TITLE: chr "The Constant Gardener"

.. .. ..$ CHARACTER: chr "Tessa Quayle"

.. .. ..$ YEAR: num 2005

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To extract the title of Mike Myers first movie from the mysterylist using two different R syntaxes t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!