Calculate response error relative to non-target values
Source:R/helpers-data.R
calc_error_relative_to_nontargets.Rd
Given a vector of responses, and the values of non-targets, this function computes the error relative to each of the non-targets.
Arguments
- data
A
data.frame
object where each row is a single observation- response
Character. The name of the column in
data
which contains the response- nt_features
Character vector. The names of the columns in
data
which contain the values of the non-targets