turner (version 0.1.7)

listsize: Size: total number of elements in a list

Description

Get the total number of elements in a list.

Usage

listsize(alist)

Value

number of elements in alist.

Arguments

alist

a list

Author

Gaston Sanchez

See Also

Examples

Run this code
some_list = list(1:3, 4:5, 6:9)

# number of elems in 'some_list'
listsize(some_list)

Run the code above in your browser using DataCamp Workspace