count_if: Count_if

View source: R/count_if.R

count_ifR Documentation

Count_if

Description

returns a vector of counts for a vector. Uses table() to calculate counts. Primarily for use in dplyr::mutate().

Usage

count_if(col)

Arguments

col

a referece to the column to be counted.

Value

a integer vector of counts for each value in col.


crazybilly/ucbudar documentation built on July 15, 2024, 5:03 p.m.