Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

17.5 Exercises 1) The ufc data we examined in last chapter's exercises can be loaded from ufc.csv (in the data directory of EssentialR). This contains

image text in transcribed
17.5 Exercises 1) The \"ufc\" data we examined in last chapter's exercises can be loaded from ufc.csv (in the \"data\" directory of EssentialR). This contains data on forest trees, including Species, diameter (in cm, measured 4.5 feet above ground and known as \"diameter at breast height\" or Dbh), and height (in decimeters). Make a single barplot showing both variables (Dbh and Height) for each Species and include errorbars (either SE of the mean or 95% CI) and a legend. Hint: In Ch 15 we saw how to add a secondary yaxis - with a barplot you need to specify the :r-axis limits and change the Uidth= and space= arguments to make the bars narrower and to get the bars to plot side-by-side. 2) Using the ufc data create a single plot shows a boxplot, with mean and standard error for both variables for the 5 most common (greatest frequency) species (a total of 10 boxplots). Hints: create a new dataframe with only the 5 most common species - and be sure to check the levels for Species in the new dataframe - you may need to use droplevels O to get rid of unused levels. Recall you can use Kink, for logical test of group membership. For putting multiple variables on a single boxplot, have a look at ?boxplot particularly at= and add=

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

Elementary Differential Equations And Boundary Value Problems

Authors: William E Boyce, Richard C DiPrima

8th Edition

0470476389, 9780470476383

More Books

Students also viewed these Mathematics questions

Question

Discuss therapeutic applications of motivational interviewing.

Answered: 1 week ago

Question

4. What means will you use to achieve these values?

Answered: 1 week ago