I have 3 models, all of which are significant and I want to create a linear graph with my data. This is what I have so far:
>morpho<-read.table("C:\\Users\\Jess\\Dropbox\\Monochamus\\Morphometrics.csv",header=T,sep=",") > attach(morpho) > wtpro<-lm(weight~pronotum) > plot(weight,pronotum) > abline(wtpro) I have tried entering the abline as:
abline(lm(weight~pronotum)) I can't figure out what I'm doing wrong. I want to add my equation, I have all of my coefficients but can't get past the line...I have even started over thinking maybe I messed up along the way and it still will not work. Is there a separate package that I am missing?