computeMedian: Median Value

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1

Arguments

x

Numeric or numeric vector

...

further arguments passed to or from other methods.

Value

Numeric. Returns the median (50th percentile) of its arguments that have valid, nonmissing 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

median

Examples

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


Search within the translateSPSS2R package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.