Learn R Programming

softclassval (version 1.0-20160527)

hard: Mark operator as hard measure

Description

The operators may work only for hard classes (see and). hard (op) == TRUE marks hard operators.

Usage

hard(op)
hard (op) <- value

Arguments

op
the operator (function)
value
logical indicating the operator type

Value

logical indicating the type of operator. NULL if the attribute is missing.

See Also

sens and

Examples

Run this code

hard (and)
myop <- function (r, p) p * (r == 1)
hard (myop) <- TRUE

Run the code above in your browser using DataLab