Displaying 1 result from an estimated 1 matches for "tp4349460p4349460".
2012 Feb 01
1
R-squared, how can I do to put this in a vector?
...## beta
for (i in 1:ncol(ret)){
beta[i] <- summary(lm((ret[,i] - ret.selic.ibov[,1]) ~ rmrf[,1] +
max[,1]))*$coef[[2]]*
}
So, I need to know what I'll put after* $*.
Thanks.
--
View this message in context: http://r.789695.n4.nabble.com/R-squared-how-can-I-do-to-put-this-in-a-vector-tp4349460p4349460.html
Sent from the R help mailing list archive at Nabble.com.