proportional_change2: Proportional Change2

View source: R/proportional.R

proportional_change2R Documentation

Proportional Change2

Description

Calculates the proportional change for a vector of two non-negative numbers.

Usage

proportional_change2(x)

Arguments

x

A numeric vector of length 2.

Value

A number.

See Also

Other proportional fun2: proportional_difference2()

Examples

proportional_change2(c(1, 2))
proportional_change2(c(2, 1))

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