Learn R Programming

translateSPSS2R (version 1.0.0)

computeLg10: Computes the logarithm base 10

Description

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

Usage

computeLg10(x)

Arguments

x
an atomic numeric or numeric vector or numeric matrix.

Value

returns a numeric, numeric vector or matrix with the logarithm base 10 values of the input data.

See Also

log

Examples

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

Run the code above in your browser using DataLab