count: Return counted number which is matched to the argument

View source: R/algorithm.R

countR Documentation

Return counted number which is matched to the argument

Description

Count what in from

Usage

count(what, from, condition = `==`)

Arguments

what

value of sequence for finding

from

index of this argument is returned

condition

condition for finding. Default is "=="

Value

List of count number.

Examples

count(c(1,3,5), c(0,1,2,3,3))
# c(1,2,0)

hmito/hmRLib documentation built on March 13, 2024, 9:41 p.m.