Skip to contents

Check the number of sets of the TidySet

Usage

nSets(object, all)

Arguments

object

Object to be coerced or tested.

all

Logical value to count all sets.

Value

The number of sets present.

Examples

TS <- tidySet(list(A = letters[1:2], B = letters[5:7]))
nSets(TS)
#> [1] 2