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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.