transformValues {psichomics} | R Documentation |
Transform values as per a given type of transformation
transformValues(val, type, avoidZero = TRUE)
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 |
Integer containing transformed values