alert: Wraps a function to only display it's results when matching a...

Description Usage Arguments Examples

View source: R/vectorize.R

Description

Implementation of T-SQL count and Excel COUNTIF functions. Shows the total number of elements in any number of data objects altogether or that match a condition.

Usage

1

Arguments

condition
fun
...

Examples

1
2
3
4
count(c(NA,1,2))
count(c(NA,1,2),is.na)
count(c(NA,1,2),list('A',4),cbind(1,2,3))
count(c(NA,1,2),list('A',4),cbind(1,2,3),condition=is.character)

cvarrichio/hordr documentation built on May 12, 2017, 2:23 p.m.