construct_objfun: Construct an objective function from a user given one.

Description Usage Arguments Details

View source: R/util_functions.R

Description

Construct an objective function from a user given one.

Usage

1

Arguments

fun

The function given to obj.fun in the main function.

Details

The purpose is to create an objective function that takes two arguments: y for the response vector and inbox a logical vector indicating if each observation lies in the box for which the objective function is computed.


PierreMasselot/primr documentation built on Feb. 5, 2021, 7:33 p.m.