counterFromList: Create a counter object from a list of strings

Description Usage Arguments Value

View source: R/counter.R

Description

Create a counter object from a list of strings

Usage

1

Arguments

lst

A list of items, will be coerced to character.

Value

A dictionary with the as keys the distinct elements of the input list and as values the count of these elements.


bobjansen/recollections documentation built on Feb. 13, 2022, 1:30 p.m.