Skip to contents

Evaluates the fitting coefficients of a model object.

Usage

evaluateModelRegression(
  mod,
  X,
  y,
  clf,
  eval.all = FALSE,
  force.re.evaluation = FALSE
)

Arguments

mod:

a model object

X:

the data matrix with variables in the rows and observations in the columns

y:

the response vector

clf:

the classifier parameter object

eval.all:

should the function evaluate all the scores (default:FALSE)

force.re.evaluation:

re-evaluate all the scores even if they exist (default:FALSE)

Value

a model object with the fitting scores evaluated