proportional_change2 {extras} | R Documentation |
Calculates the proportional change for a vector of two non-negative numbers.
proportional_change2(x)
x |
A numeric vector of length 2. |
A number.
Other proportional fun2:
proportional_difference2()
proportional_change2(c(1, 2))
proportional_change2(c(2, 1))