powered by
Calculates the proportional difference for a vector of two non-negative numbers.
proportional_difference2(x)
A number.
A numeric vector of length 2.
Other proportional fun2: proportional_change2()
proportional_change2()
proportional_difference2(c(1, 2)) proportional_difference2(c(2, 1))
Run the code above in your browser using DataLab