interval_difference-methods: Compute set difference

Description Usage Arguments Value See Also

Description

Compute the set difference between two objects.

Usage

1
2
## S4 method for signature 'Intervals_virtual,Intervals_virtual'
interval_difference(x, y, check_valid = TRUE)

Arguments

x

An "Intervals" or "Intervals_full" object.

y

An "Intervals" or "Intervals_full" object, with a type slot matching that of x.

check_valid

Should validObject be called on x and y before passing to compiled code? Also see interval_overlap.

Value

An object representing the subset of the integers or real line, as determined by type(x), found in x but not in y.

See Also

These methods are just wrappers for interval_intersection and interval_complement.


intervals documentation built on May 31, 2017, 2:35 a.m.

Search within the intervals package
Search all R packages, documentation and source code