bmrm (version 4.1)

is.convex: Return or set is.convex attribute

Description

Return or set is.convex attribute

Usage

is.convex(x, ...)

# S3 method for default is.convex(x, ...)

is.convex(x, ...) <- value

# S3 method for default is.convex(x, ...) <- value

Arguments

x

any R object

...

additional paramters

value

new loss value to set

Value

attr(x,"is.convex")

Details

is.convex attribute is used by loss/risk function to determine if it is convex