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 to zero values; avoids returning infinity values during Log transformation (which are not plotted); useful for preserving p-values of 0, for instance; TRUE by default

Value

Integer containing transformed values


nuno-agostinho/psichomics documentation built on Nov. 1, 2017, 3:18 p.m.