Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sets

set inclusion


Description

Check whether one set is included within another.

Usage

setincl( x, X )

Arguments

x, X

sets.

Value

TRUE, if set x is contained in set X.

Author(s)

Christian W. Hoffmann <christian@echoffmann.ch>

Examples

setincl(2:3, 1:7) # TRUE
# compare this to:
  grep( "15926",as.character(pi)) == 1 # TRUE

cwhmisc

Miscellaneous Functions for Math, Plotting, Printing, Statistics, Strings, and Tools

v6.6
GPL (>= 2)
Authors
Christian W. Hoffmann
Initial release
2018-08-24, 10:40:10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.