Index | R Documentation |
Index
Indexes the data on a table by its rows or columns.
Index(x, by.row = TRUE, i = 1, STATS = NULL, remove = "", remove.diag = FALSE)
x |
The data to be indexed. |
by.row |
Index y rows. |
i |
The row or column to be used as the base for the index. |
STATS |
The row or column number to index by, or, a vector containing the data to be swept out. |
remove |
Where the options are "", which does nothing, and "lower left", "lower right", "upper left", and "upper right", and they are set to NA. |
remove.diag |
If TRUE, and |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.