Skip to contents

Check the number of elements of the TidySet.

Usage

nElements(object, all)

Arguments

object

Object to be coerced or tested.

all

Logical value to count all elements.

Value

A numeric value with the number of elements.

Examples

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