That is exactly what I needed! I dunno why I did not think about it
earlier duuhhh!!!
thanks very much!!!
sapply(modelos, AIC) did the job!
more specifically, (I wanted a dataframe to make comparaisons easy)
k=as.data.frame(sapply(modelos,AIC))
df_results=cbind(k,modelo=rownames(k))
So,
That's a great guide!!! Thanks
I guess, I wasn't 2 clear about my question.
I have succeed naming my vars, but I can't seem to be able to create a c()
of objects named after the string.
So far I have MyList$lm1 MyList$lm2, ... but can't use them as an input to
AIC()
that is, AIC(Mylist) won
Hi, I have been using R for a bit, but never came across this simple
issue... So, I wonder if anyone could give me a hint on it.
I have calculated a bunch o models and now need to compare them using
AIC(). The issue seem to be that I have placed each output in a list object.
So, the question is h
3 matches
Mail list logo