R2CV {SMIR} | R Documentation |
This function provides the leave-one-out crossvalidation version of the coefficient of determination for regression models
R2CV(model)
model |
an object as returned by 'lm' |
Aitkin, M., Francis, B., Hinde, J. and Darnell, R. (2009). Statistical Modelling in R, UOP.
data(trees) R2CV(lm(v ~ d + h, data=trees))