[R] postResample R² and lm() R²

2007-12-11 Thread Giovane
e input data, why does postResample return a very different value associated to R²? Best regards, Giovane #input.csv file used as input "A" "B" "C" "D" "TOTAL" 1 0 1 0 3.8 1 0 1 0

Re: [R] lm: how to calculate rsquared of the predicted values?

2007-12-08 Thread Giovane
> correlation between the observed and predicted. The next version of > caret will offer a choice of formulas. > > -- > > Max > -- Best regards, Giovane [[alternative HTML version deleted]] __ R-help@r-project.org mailing

[R] lm: how to calculate rsquared of the predicted values?

2007-12-08 Thread Giovane
) and real (observed) values.? 2. Measure the RMSE error . Example: suppose my data its below: REAL Predicted 8.22 9.016811 28.24 9.016811 29.6926.491108 78.0259.234736 51.2967.823793 37.5518.033622 10.8229.683154 -- Thanks in advance, Giovane [[alternative HT