Re: [R] Linear Regression line equation

2013-09-04 Thread Sarah Goslee
summary(lm(Canopy_Height~Ground_Elevation, data=young400_1)) #use data= instead of attach! Or even mylm <- lm(Canopy_Height~Ground_Elevation, data=young400_1) mylm summary(mylm) coefficients(mylm) Most intro to R guides cover the basics of modeling; you might benefit from reading one of them. S

[R] Linear Regression line equation

2013-09-04 Thread jfrei006
First of I am new to using R. I have a dataset that I plotted using R, I created a scatter plot and used abline to create the line, what I need is to find the equation of the line. Below is the script I have used up until this point. >young400_1<-read.csv("Z:\\SOFTEL\\North Key Largo project\\Can