cumuCurve: Calculating cumulative proportions of objects in a sample...

View source: R/cumuCurve.R

cumuCurveR Documentation

Calculating cumulative proportions of objects in a sample population

Description

This function calculates cumulative proportions of objects in a sample population. There are two input numeric vectors, and both vectors are binned using the same width (for example, binned by 1000). Therefore, all inputs are counts.

Usage

cumuCurve(obj, pop)

Arguments

obj

The object whose cumulative curve is of our interest.

pop

The population from which individual objects are sampled. Initially, this function is designed for processing counts in the results of the function hist(...). In this scenario, both obj and pop are counts.

Author(s)

Yu Wan (wanyuac@gmail.com)


wanyuac/handyR documentation built on June 10, 2024, 1:24 a.m.