proportional_difference: Proportional Difference

View source: R/proportional.R

proportional_differenceR Documentation

Proportional Difference

Description

Calculates the proportional difference for two sets of numbers.

Usage

proportional_difference(x, x2)

Arguments

x

A numeric object (vector, matrix or array) of non-negative numbers.

x2

A second numeric object of non-negative numbers.

Value

A numeric object of the proportional change.

See Also

Other proportional: proportional_change()

Examples

proportional_difference(1, 2)
proportional_difference(2, 1)

extras documentation built on May 31, 2023, 6:22 p.m.