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 (`.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

[Package psichomics version 1.14.1 Index]