Learn R Programming

mcen (version 1.2.1)

pred_eval.mgauss_mcen: Calculates the prediction error for a mgauss_mcen object.

Description

Calculates the prediction error for a mgauss_mcen object.

Usage

# S3 method for mgauss_mcen
pred_eval(obj, test_x, test_y)

Arguments

obj

The mgauss_mcen object.

test_x

The matrix of test predictors.

test_y

The matrix of test responses.

Author

Ben Sherwood <ben.sherwood@ku.edu>, Brad Price <brad.price@mail.wvu.edu>