I have fitted a multiple regression model to the row of a matrix using lm:
ft<-lm(datos[i, ]-r1 + r2+ r3 + r4,keep.data = TRUE,model=TRUE)
If I use fitted(ft) I get the list of fitted values (which I think is the
mean of the fitted values corresponding to each of the explanatory variables
(r1, r2
Dear Ista,
This worked fine, and it does not require any specific package. I was
trying sink but with cat instead of print and it was not working. This was
very helpful, thanks a lot.
Alberto
--
View this message in context:
http://r.789695.n4.nabble.com/save-rds-as-text-tp4670925p4671168.h
I created a table like this:
Analysis of Variance Table
Response: dati
Df Sum Sq Mean Sq F value Pr(>F)
groups 2114 57.00 76 4.134e-11 ***
Residuals 24 180.75
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
and saved
3 matches
Mail list logo