Description Usage Arguments Value Author(s) See Also Examples
View source: R/xpssComputeArithmetics.R
Helper Function for xpssCompute. R Implementation of the SPSS MOD
Function.
1 | computeMod(x,modulus = NULL)
|
x |
an atomic numeric or numeric vector or numeric matrix. |
modulus |
atomic numeric |
returns a numeric vector including the remainder of x
by modulus
.
Bastian Wiessner
1 | xpssCompute(x = fromXPSS, variables = "V5",fun = "computeMod", modulus = 2)
|
V5
1 1.380
2 1.231
3 0.536
4 1.126
5 0.696
6 1.854
7 1.061
8 0.767
9 0.620
10 0.902
11 0.072
12 1.238
13 1.526
14 0.954
15 0.094
16 0.574
17 0.158
18 0.361
19 1.269
20 1.835
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.