countListItems: Counter of items of certain type(s) from a composite...

Description Usage Arguments Value

Description

countItems takes a composite object and a collection of types from of objects of interest and counts how many objects of those types occur in total in the composite collection.

Usage

1
countListItems(composite, singletonTypes)

Arguments

composite

The composite object (e.g., list) from which to count items.

singletonTypes

The collection of names of object types of interest (e.g., c("data.table", "data.frame")).

Value

The cumulative count of items of one of the types named in singletonTypes.


vreuter/SwissR documentation built on May 14, 2019, 11:29 a.m.