cumsumprop: Proportion of cumulative sum over sum

Description Usage Arguments Value Examples

View source: R/cumsumprop.R

Description

Proportion of cumulative sum over sum

Usage

1

Arguments

x

Numeric vector

Value

the proportion cumulative sum over sum

Examples

1
2
x <- 1:4
cumsumprop(x) ## 0.1, 0.3, 0.6, 1

ribiosUtils documentation built on March 13, 2020, 2:54 a.m.