Skip to contents

n-Fold Change

Usage

ps_nfold_change(x, y)

Arguments

x

A vector of the before values

y

A vector of the after values

Value

A vector of the n-fold change

Examples

ps_nfold_change(3, c(3, 1, 9))
#> [1]  0 -2  2