calc_cumsum_table: calculate the cumulative sum of frequencies

View source: R/calc_cumsum_table.R

calc_cumsum_tableR Documentation

calculate the cumulative sum of frequencies

Description

calculate the cumulative sum of frequencies

Usage

calc_cumsum_table(x, col.id, col.freq = "Freq")

Arguments

x

a data.frame containign col.id and col.freq

col.id

string. what item in x is the identifier?

col.freq

string. what numeric column contains the frequency?

Value

item

the identifier item

Freq

the frequency of the item

n

the reversed cumulative sum of frequencies of items. i.e. the revsersed cumulative sum of the tabulated frequencies.


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.