Calculate the fold change when x is of size two (always show it >1)...

Share:

Description

Calculate the fold change when x is of size two (always show it >1)

Usage

1

Arguments

x

input vector of size two

Value

the proportion of x[1]/x[2] or x[2]/x[1] depending which is larger

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.