2 May 19:43
Re: [R-sig-eco] Extracting information from lm results
Hi Stephen and all, your question is a good point to highlight (or recall) come of the most basic and powerful features of R: it is an object oriented language. This means, that it might be useful for users to look into different object classes, and their summary() and print() methods. Here I paste some code that I hope might help to understand what I mean. But for this particular problem, when you have a time series (if I am right), the use of LM is not necessarily the best choice, because of the non-independence of the data. You might consider to use the nlme or lme4 packages and explicitly define autoregressive correlation structure. Anyway, here the code goes! Cheers, Peter -- -- Peter Solymos, PhD Institute for Biology Faculty of Veterinary Science Szent Istvan University, Hungary http://www.univet.hu/users/psolymos/personal/ mefa R package http://mefa.r-forge.r-project.org/(Continue reading)
RSS Feed