computeMax: Computes the Maxima

Description Usage Arguments Value Author(s) See Also Examples

View source: R/xpssComputeStatistics.R

Description

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

Usage

1
computeMax (x,...)

Arguments

x

atomic numeric or numeric vector or numeric matrix

...

further arguments passed to or from other methods.

Value

Numeric. Returns the maximum value of its arguments that have valid values. If the data contains missing values, it is possible to specify an na remove command, this is na.rm. The default for na.rm is na.rm=F, if the value get changed to na.rm=T every existing missing value get omitted.

Author(s)

Bastian Wiessner

See Also

max

Examples

1
xpssCompute(x = fromXPSS, variables = c("V5","V7_1"),fun = "computeMax")

translateSPSS2R documentation built on May 30, 2017, 4:31 a.m.