Description Usage Arguments Details Value Author(s) Examples

This function tells us how far we have to go before reaching a cutoff in a variable by sorting the vector, then finding how far to go. Note that the cutoff is expressed in percentage terms (fixed cumulative sum)

1 |

`x` |
a numeric vector, missing values are allowed |

`cutoff` |
a user defined numeric value to stop the cutoff specified as a proportion 0 to 1 |

`na.rm` |
logical, should missing values be excluded? |

Calculates the distance through a numeric vector before a certain proportion of the sum is reached by sorting the vector and calculating the cumulative proportion of each element

An integer for the minimum number of elements necessary to reach cutoff

Jared E. Knowles

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.