Learn R Programming

hidetify (version 0.0.1)

rcpp_setdiff: Arma Set Difference of Subsets

Description

rcpp_setdiff calculates the (nonsymmetric) set difference of subsets of a probability space.

Usage

rcpp_setdiff(x, y)

Arguments

x

a vector of integers.

y

a vector of integers.

Value

A subset of a probability space of the same type as its arguments.

Examples

Run this code
# NOT RUN {
x <- 1:20
y <- 1:12
rcpp_setdiff(x, y)
# }

Run the code above in your browser using DataLab