knn.reg returns an object of class "knnReg" or "knnRegCV"
if test data is not supplied.
The returnedobject is a list containing at least the following components:
callthe match call.
knumber of neighbours considered.
nnumber of predicted values, either equals test size or train size.
preda vector of predicted values.
residualspredicted residuals. NULL if test is supplied.
PRESSthe sums of squares of the predicted residuals. NULL if test is supplied.
R2Predpredicted R-square. NULL if test is supplied.