Learn R Programming

translateSPSS2R (version 1.0.0)

computeSqrt: Computes the square root

Description

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

Usage

computeSqrt(x)

Arguments

x
an atomic numeric or numeric vector or numeric matrix.

Value

returns a numeric, numeric vector or matrix with the square root values of the input data.

See Also

sqrt

Examples

Run this code
xpssCompute(x = fromXPSS, variables = "V5",fun = "computeSqrt")

Run the code above in your browser using DataLab