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

nElements

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()

Examples

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

BaseSet

Working with Sets the Tidy Way

v0.0.16
MIT + file LICENSE
Authors
Lluís Revilla Sancho [aut, cre] (<https://orcid.org/0000-0001-9747-2570>), Zebulun Arendsee [rev], Jennifer Chang [rev]
Initial release

We don't support your browser anymore

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