proportion: Computing the proportions of a numeric vector

Description Usage Arguments Value Examples

Description

Utility function used to compute the proportion of the values of a vector. The proportion of a value is its ratio relative to the sum of the vector.

Usage

1

Arguments

x

a numeric vector;

...

Further arguments to var and sum function (e.g. na.rm = TRUE)

Value

A vector of proportions

Examples

1
2

vcerqueira/tsensembler documentation built on Oct. 28, 2020, 11:46 p.m.