get.oddoreven | R Documentation |
Returns either odd or even indexed rows or columns from a data frame.
get.oddoreven(df_ = NULL, rows = FALSE, odd = TRUE)
df_ |
A data frame. Default: NULL |
rows |
Logical indicating whether to return rows (if TRUE) or columns (if FALSE). Default: FALSE |
odd |
Logical indicating whether to return odd indexed rows/columns (if TRUE) or even indexed rows/columns (if FALSE). Default: TRUE |
A subset of the input data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.