Question: R studio is required Knit the document to create a file with your commands, answers, and output #Knit the document to create a file with

 R studio is required Knit the document to create a file

with your commands, answers, and output #Knit the document to create a

file with your commands, answers, and output ###Please email both yourself and

your partner with the .Rmd file! This will save you much heartache!

R studio is required

Knit the document to create a file with your commands, answers, and output

#Knit the document to create a file with your commands, answers, and output ###Please email both yourself and your partner with the .Rmd file! This will save you much heartache! ####Be complete and thorough in your answers and write in full sentences. Run the code in the chunk below, which tells R that you will be using the Birdnest data in the Stat2 Data package: {r} require(mosaic) require(Stat2 Data) data (BirdNest) attach(BirdNest) #This means you don't have to use the 'data=' in your commands #####Exercise 1: Use the 'head' command in the chunk below to look at the first 6 units of the data. Which variables are categorical and which are quantitative? (In this dataset, "Factor" variables are categorical.) What are the levels of the categorical variables ? [ENTER YOUR RESPONSE TO 1 HERE ] #####Exercise 2 Make a table of closed vs open nests (Closed.) by location. Notice that closed. contains some missing variables (NA). These are removed with the (Closed. !='NA') part of the command (ie, choose only those observations in Closed. that are not missing). Closed nests are coded as 1. Do you notice any patterns? "{r} tab=table(Closed. (Closed. !='NA' ], Location) tab [ENTER YOUR RESPONSE TO 2 HERE] ##Exercise 3. What proportion of the nests are closed? Make a bar plot. Describe what you see in the bar plot. **{r} prop.table()#

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!