computeErrorRate: Function to compute the error of different model fits

Description Usage Arguments Value

Description

Function to compute the error of different model fits

Usage

1
computeErrorRate(data, fit, imputationParameters)

Arguments

data

A data.table containing the data.

fit

The fitted value from the model.

imputationParameters

A list of the parameters for the imputation algorithms. See defaultImputationParameters() for a starting point.

Value

A vector of (the absolute value of the) errors corresponding to the non-missing entries in data's "value" column.


SWS-Methodology/faoswsImputation documentation built on May 9, 2019, 11:48 a.m.