Learn R Programming

translateSPSS2R (version 1.0.0)

computeCos: Computes the cosinus.

Description

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

Usage

computeCos(x)

Arguments

x
an atomic numeric or numeric vector or numeric matrix.

Value

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

See Also

cos

Examples

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

Run the code above in your browser using DataLab