View the step-by-step solution to:

Question

Screen Shot 2020-01-24 at 7.27.13 PM.png

Rstudio using the data

set "CO2" , new variable name whatever

Screen Shot 2020-01-24 at 7.27.13 PM.png

4. Examine the dataset “C02” in the datasets package.
a How many columns are in this data frame? b. How many rows? c. What are the columns of this matrix named? d. The “Plant” column is a “factor” variable, which is like a
character variable that takes on a limited number of specific
values, called levels. Use levels() to identify all of the values that
Plant takes on. e. Use mean() to determine the mean of the last column in this data
frame.

Top Answer

a. 5 columns b. 84 rows c. Plant, Type, Treatment,... View the full answer

Capture.PNG

Sign up to view the full answer

Other Answers

Firstly, we need to call the dataset CO2 from the in-built library. data("CO2") df =... View the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question