count: Count the frequency of numbers 'count'

View source: R/Func_Misc.R

countR Documentation

Count the frequency of numbers count

Description

Count the frequency of numbers count

Usage

count(x, n = NULL)

Arguments

x

target value

n

specific frequency

Value

count of specific frequency

Examples

x=c(round(rnorm(100, 2)+1), 0,0)
count(x)
count(x, sum(x==0))

SHUD-System/SHUDtoolbox documentation built on Nov. 27, 2024, 5:54 a.m.