Learn R Programming

distr6 (version 1.1.0)

complement.SetInterval: Symbolic Complement for SetInterval

Description

Makes a symbolic representation for the complement of sets/intervals.

Usage

complement.SetInterval(...)

# S3 method for SetInterval -(x, y)

Arguments

x

SetInterval

y

SetInterval

...

SetIntervals to take the complement of.

Value

Returns an R6 object inheriting from SetInterval.

Details

This does not calculate the complement of the arguments but is just a symbolic representation using unicode.

See Also

product.SetInterval, union.SetInterval, power.SetInterval

Examples

Run this code
# NOT RUN {
PosNaturals$new() - Interval$new(-1,10)
complement.SetInterval(Reals$new(), Interval$new(10,Inf))

# }

Run the code above in your browser using DataLab