nSets {BaseSet}R Documentation

Number of sets

Description

Check the number of sets of the TidySet

Usage

nSets(object)

Arguments

object

Object to be coerced or tested.

Value

The number of sets present.

See Also

Other count functions: nElements(), nRelations()

Other methods: TidySet-class, activate(), add_column(), add_relation(), arrange.TidySet(), cartesian(), complement_element(), complement_set(), complement(), element_size(), elements(), filter.TidySet(), group_by.TidySet(), group(), incidence(), intersection(), is.fuzzy(), is_nested(), move_to(), mutate.TidySet(), nElements(), nRelations(), name_elements<-(), name_sets<-(), name_sets(), power_set(), pull.TidySet(), relations(), remove_column(), remove_element(), remove_relation(), remove_set(), rename_elements(), rename_set(), select.TidySet(), set_size(), sets(), subtract(), union()

Examples

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

[Package BaseSet version 0.9.0 Index]