Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

HELP NEEDED WITH R STUDIO ASAP (a) Write a line of code that gives me all the in

ID: 3299955 • Letter: H

Question

HELP NEEDED WITH R STUDIO ASAP

(a) Write a line of code that gives me all the information about “Saturn”.

(b) Write a line of code that gives me the ‘diameter’ variable.

(c) What class is the ‘type’ variable in this data?

(d) What would this line of code do: planets_df$rotation < 0?

(e) What would this line of code give us: planets_df$planets[planets_df$type = = “Terrestrial plant”]?

(6) In the below box, we have the planets_df data from some data camp exercises. Use the data below to answer the following questions. > planets df planets 1 Mercury Terrestrial planet 2 Venus Terrestrial planet 3 Earth Terrestrial planet 4 5 Jupiter 6 Saturn type diameter rotation rings 58.64 FALSE 0.949-243.02 FALSE 1.00 FALSE 1.03 FALSE 0.41 TRUE 0.43 TRUE 0.72 TRUE 0.382 1.000 0.532 Gas giant 11.209 9.449 4.007 Mars Terrestrial planet Gas giant ranus Gas giant 8 Neptune Gas giant 3.883 0.67 TRUE

Explanation / Answer

a)Information about Saturn->planets_df[planets_df$planets="Saturn"]

b)Diameter Variable->planets_df$diameter

c)Class of type variable->String

d)Yes it will work

e)Mercury Venus Earth Mars

e)