Learn R Programming

EMA (version 1.4.3)

setdiffg: Generalized version of setdiff for n objects

Description

This function returns the difference between the first argument and the (n-1) others

Usage

setdiffg(...)

Arguments

...
The objects to compare

Value

  • A vector of differences between the first object and the (n-1) others

Examples

Run this code
a<-1:10
b<-2:5
c<-7:8
setdiffg(a,b,c)

Run the code above in your browser using DataLab