get_freq: Get frequency count for each integer

Description Usage Arguments Value

View source: R/utils.R

Description

tabulate v by 1:maxk

Usage

1
get_freq(v, maxk = 20)

Arguments

v

the vector of integers to be tabulated

maxk

maximum integer to search within v

Value

a vector of probabilities that sum to one


oslerinhealth/rewind documentation built on May 26, 2021, 6:56 a.m.