transformValues: Transform values as per a given type of transformation

Description Usage Arguments Value

View source: R/analysis.R

Description

Transform values as per a given type of transformation

Usage

1
transformValues(val, type, avoidZero = TRUE)

Arguments

val

Integer: values to transform

type

Character: type of transformation

avoidZero

Boolean: add the smallest non-zero number available (.Machine$double.xmin) to avoid infinity values following log-transformation (may not be plotted); useful for p-values of 0

Value

Integer containing transformed values


psichomics documentation built on Nov. 8, 2020, 5:44 p.m.