[R] Extracting 'SOME' values from a linear model.

HouseBandit barry.jones1 at students.plymouth.ac.uk
Fri Apr 2 23:14:09 CEST 2010


I have a regression model that I have used on some data and to look at its
accuracy compared to some other models I have been extracting the same 10%
of the real data to perform a sum of squares calculation

this is what I have tried but it gives me the '0.9*length(t)' fitted value
and the 'length(t)' fitted value that I want, but it doesnt give me those in
between.

my.lm
my.lm$fitted[c(0.9*length(t), length(t))]


Help please

Thanks
-- 
View this message in context: http://n4.nabble.com/Extracting-SOME-values-from-a-linear-model-tp1749643p1749643.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list