Description Usage Arguments Details Value Author(s) See Also Examples
R implementation of the SPSS $CASENUM
system variable. xpssCasenum counts the number of cases within a variable, or respectively the number of observations in the dataset.
1 | xpssCasenum(x)
|
x |
a (non-empty) data.frame or input data of class |
xpssCasenum fit well as ID-Variable.
Returns a sequential atomic numeric or numeric vector.
Bastian Wiessner
Related Functions xpssCount
, xpssDate
, xpssDate11
1 2 3 | data(fromXPSS)
fromXPSS$id <- xpssCasenum(fromXPSS)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.