setDiff: setdiff any dimension-less object

Description Usage Arguments Value

Description

1
2
3
4
5
Unlike base::setdiff does not do "as.vector".
Therefore vector classes are not lost.
( e.g. Date and POSIXt).

To compare, it uses (same as setdiff.default) match.

Usage

1
setDiff(x, y)

Arguments

x

vector

y

vector of elements to subtract off from x

Value

vector from x, elements of y have been subtracted from x


AndreMikulec/econModel documentation built on June 30, 2021, 9:48 a.m.