regres: Regression results

Description Usage Arguments Value

View source: R/regres.R

Description

Class for storing and visualisation of regression predictions

Usage

1
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. 13, 2021, 9:07 a.m.