Computes the absolute value.

Description

Helper Function for xpssCompute. R Implementation of the SPSS ABS Function.

Usage

1

Arguments

x

an atomic numeric or numeric vector or numeric matrix.

Value

Returns a vector with the absolute values of the input data.

Author(s)

Bastian Wiessner

See Also

abs

Examples

1
2
data(fromXPSS)
xpssCompute(x = fromXPSS, variables = "V5",fun = "computeAbs")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.