Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

R question. What is an another R syntax for extracting *just* the name of Myers' first movie in the mystery.list? My one answer is: mystery.list$MYERS$MOVIES[[1]]$TITLE

R question. What is an another R syntax for extracting *just* the name of Myers' first movie in the mystery.list?

My one answer is: mystery.list$MYERS$MOVIES[[1]]$TITLE

Mystery list looks like this:

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

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

An Introduction to Measure Theoretic Probability

Authors: George G. Roussas

2nd edition

128000422, 978-0128000427

More Books

Students also viewed these Mathematics questions