powered by
Return or set is.convex attribute
is.convex(x, ...)# S3 method for default is.convex(x, ...)is.convex(x, ...) <- value# S3 method for default is.convex(x, ...) <- value
# S3 method for default is.convex(x, ...)
is.convex(x, ...) <- value
# S3 method for default is.convex(x, ...) <- value
any R object
additional paramters
new loss value to set
attr(x,"is.convex")
is.convex attribute is used by loss/risk function to determine if it is convex