Learn R Programming

ROI (version 0.2-1)

objective: Extract Objective Functions

Description

Extract the objective function from its argument (typically ROI objects) and return them.

Usage

objective(x)
as.objective(x)

Arguments

x
an object used to select the method.

Value

a function inheriting from "objective".

Details

The default method assumes that the supplied R object is a list where the element objective represents the objective function. The extractet element is then coerced to a function.