Description Usage Arguments Details Author(s) Examples
Computes casenumbers for the input values.
1 | casenumber(x) # x is typically a factor, it cannot be numeric!
|
x |
The input values will usually be the levels of a factor.
Joost van de Weijer
1 2 | dfr=data.frame(x=c(rep("A",8),rep("B",6),rep("A",2)))
casenumber(dfr$x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.