proportional_change: Proportional Change

View source: R/proportional.R

proportional_changeR Documentation

Proportional Change

Description

Calculates the proportional change for two sets of numbers.

Usage

proportional_change(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_difference()

Examples

proportional_change(1, 2)
proportional_change(2, 1)

extras documentation built on April 4, 2025, 2:40 a.m.