hard: Mark operator as hard measure

Description Usage Arguments Value Author(s) See Also Examples

View source: R/hardclasses.R

Description

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

Usage

1
2
3
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.

Author(s)

Claudia Beleites

See Also

sens and

Examples

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

softclassval documentation built on May 29, 2017, 3:22 p.m.