Question: You probably remember from high school that some planets in our solar system have rings and others do not. Unfortunately you can not recall their

You probably remember from high school that some planets in our solar system have rings and others do not. Unfortunately you can not recall their names. Could R help you out?
If you type rings_vector in the console, you get:
[1] false false false false true true true true
This means that the first four observations (or planets) do not have a ring ( FALSE ), but the other four do ( TRUE ). However, you do not get a nice overview of the names of these planets, their diameter, etc. Let's try to use rings_vector to select the data for the four planets with rings.
Instructions
100xP
The code in the editor selects the name column of all planets that have rings. Adapt the code so that instead of only the name column, all columns for planets that have rings are selected.
(
(
(x)
Take Hint XP)
Incorrect Submission
Have you correctly adapted the code to select all columns for the planets that have rings? You can use planets_df[rings_vector, ]. Make sure to include the comma here, it's crucial!
 You probably remember from high school that some planets in our

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!