regres: Regression results

View source: R/regres.R

regresR Documentation

Regression results

Description

Class for storing and visualisation of regression predictions

Usage

regres(y.pred, y.ref = NULL, ncomp.selected = 1)

Arguments

y.pred

vector or matrix with y predicted values

y.ref

vector with reference (measured) y values

ncomp.selected

if y.pred calculated for different components, which to use as default

Value

a list (object of regres class) with fields, including:

y.pred a matrix with predicted values
y.ref a vector with reference (measured) values
ncomp.selected selected column/number of components for predictions
rmse root mean squared error for predicted vs measured values
slope slope for predicted vs measured values
r2 coefficient of determination for predicted vs measured values
bias bias for predicted vs measured values
rpd RPD values

mdatools documentation built on Sept. 11, 2024, 7:59 p.m.