lvalue: Return or set lvalue attribute

Description Usage Arguments Details Value

Description

Return or set lvalue attribute

Usage

1
2
3
4
5
6
7
8
9
lvalue(x, ...)

## Default S3 method:
lvalue(x, ...)

lvalue(x, ...) <- value

## Default S3 replacement method:
lvalue(x, ...) <- value

Arguments

x

any R object

...

additional paramters

value

new loss value to set

Details

lvalue attribute is used by loss/risk function to return the loss value of the function at a given point together with the function gradient

Value

attr(x,"lvalue")


bmrm documentation built on May 2, 2019, 2:49 p.m.