this discussion is about Linear Model(lm) or (lma) while applying code in R studio

examsquiz = read.table("examsquiz.txt", header = FALSE)
lma <- lm(examsquiz[,V2]~examsquiz[,V1])
lma <- lm(examsquiz$V2L~examsquiz$V1)
#after lma its not working but as in book it says same code works !!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.