getLoss: Calculate the loss given predicted and observed values

View source: R/getLoss.R

getLossR Documentation

Calculate the loss given predicted and observed values

Description

Calculate the loss given predicted and observed values

Usage

getLoss(preds, obs, loss)

Arguments

preds

Matrix of predicted values

obs

vector of observed values

loss

a character vector indicating the loss type, see ?cv.pengls

Value

the evaluated loss


sthawinke/pengls documentation built on July 2, 2023, 7:27 a.m.