Learn R Programming

distr6 (version 1.3.1)

Set: R6 Generalised Class for Symbolic Sets

Description

A symbolic R6 Set class.

Value

Returns an R6 object of class Set.

Constructor

Set$new(..., dim = 1)

Constructor Arguments

Argument Type Details
... ANY Elements in the set.

Public Methods

Accessor Methods Link
type() type.SetInterval
dimension() dimension.SetInterval
max() max.SetInterval
min() min.SetInterval
sup() sup.SetInterval
inf() inf.SetInterval
getSymbol() getSymbol.SetInterval
class() class.SetInterval
elements() elements
Set Methods Link
length() length.Set
Validation Methods Link
liesInSetInterval(x, all = FALSE, bound = FALSE) liesInSetInterval
Representation Methods Link
print() print

Details

Sets are distinguished from intervals in R6 as they are finite mathematical sets with elements that can be printed. The elements can be of any class.

See Also

Interval