transformValues {psichomics} | R Documentation

## Transform values as per a given type of transformation

### Description

Transform values as per a given type of transformation

### Usage

    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

[Package psichomics version 1.10.2 Index]