nElements {BaseSet}R Documentation

Number of elements

Description

Check the number of elements of the TidySet.

Usage

nElements(object)

Arguments

object

Object to be coerced or tested.

Value

A numeric value with the number of elements.

See Also

Other count functions: nRelations(), nSets()

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(), nRelations(), nSets(), 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]))
nElements(TS)

[Package BaseSet version 0.9.0 Index]