acumulated.distrib: Cumulative counts for cumulative distribution

Description Usage Arguments Details

View source: R/acumulated.distrib.R

Description

This function calculates the cumulative counts for the the cumulative distribution given a vector of non-cumulative counts as input.

Usage

1
acumulated.distrib(vecOfCounts, backwards = FALSE)

Arguments

vecOfCounts

The vector of non-cumulative counts. Can be generated by hist() function.

plot

A boolean to indicate whether to perform cumulative count accumulation left-to-right, i.e. forward, (defult) or right-to-left, i.e. backwards. Defults to FALSE.

Details

The non-cumulative counts can be obtained with R's hist(x, plot=FALSE) function. The cumulation of counts can be specified to be from left-to-right or right-to-left of the vector.


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.