objective: Objective function of the L2E regression - eta

View source: R/objectives.R

objectiveR Documentation

Objective function of the L2E regression - eta

Description

objective computes the objective of the L2E regression in terms of eta

Usage

objective(eta, r, method = "mean")

Arguments

eta

The current estimate of eta

r

Vector of residuals

method

Mean or median

Value

Returns the output of the objective function (scalar)


jocelynchi/L2E-package-demo documentation built on Oct. 6, 2022, 6:05 a.m.