RE: Reduction of Error

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Reduction of Error

Usage

1
RE(yhat, y, yc_bar)

Arguments

yhat

Model outputs in the validation set

y

Observations in the validation set

yc_bar

Mean observations in the calibration set

Value

RE

Examples

1
2
3
4
x <- rnorm(100)
y <- rnorm(100)
yc_bar <- mean(x[1:50])
RE(x[51:100], y[51:100], yc_bar)

ldsr documentation built on May 4, 2020, 5:06 p.m.