Click here to Skip to main content
15,507,755 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
'''(r setup, include=FALSE)
knitr:opts chunk$set(echo= TRUE)

Read in the data provided and save it as a variable called "data"
'''(r)

'''
use c() and cbind() to add a numerical column from 1:19 to "data". Order it as the first column.
'''(r)
'''
Make a plot of the data to see if it looks like there is a relationship between precipation and plant biomass with the plot(). Notice the options to customize the plain plot on the second graph.
'''{r pressure, echo=FALSE)
plot(data@temperature, data$biomass)
plot(data$temperature, data$biomass, xlab= "Temperature", ylab="Biomass (g)", pch = 17, col = "cornflowerblue" , cex= 1.7)

Data Table for Code
Temperature/Biomass
12/132
16/96
4/8
0/0
5/100
1/13
27/486
15/240
27/297
15/60
29/493
20/160
9/171
6/66
23/253
19/266
14/98
26/260
12/144

What I have tried:

I get confused on where to start on this assignment....
Posted
Updated 13-Sep-22 19:26pm
Comments
Jason Garcia Jr. 13-Sep-22 22:04pm    
I am using R studio and R markdown for this question....

1 solution

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900