Description Usage Arguments Value Author(s) See Also Examples
View source: R/xpssComputeStatistics.R
Helper Function for xpssCompute. R Implementation of the SPSS MEDIAN
Function.
1 | computeMedian (x,...)
|
x |
Numeric or numeric vector |
... |
further arguments passed to or from other methods. |
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.
Bastian Wiessner
1 | xpssCompute(x = fromXPSS, variables = c("V5","V7_1"),fun = "computeMedian")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.