Learn R Programming

mdatools (version 0.14.2)

as.matrix.regres: as.matrix method for regression results

Description

Returns a matrix with model performance statistics for regression results

Usage

# S3 method for regres
as.matrix(x, ncomp = NULL, ny = 1, ...)

Arguments

x

regression results (object of class regres)

ncomp

model complexity (number of components) to calculate the statistics for (can be a vector)

ny

for which response variable calculate the statistics for

...

other arguments