sets {cwhmisc}R Documentation

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

[Package cwhmisc version 6.6 Index]