sset_df | R Documentation |
These functions are for developers that need minimal overhead when filtering on rows and/or cols.
sset_df(x, i = NULL, j = NULL, ...)
sset_row(x, i = NULL)
sset_col(x, j = NULL)
x |
A |
i |
Rows - If |
j |
Cols - If |
... |
Unused. |
If you are unsure which functions to use then it is recommended to use
sset()
. These low-overhead helpers do not work well with data.tables
but should work well with basic data frames and basic tibbles.
The only real difference between sset_df
and sset_row
/sset_col
is that
sset_df
attempts to return a similar type of data frame as the input,
whereas sset_row
and sset_col
always return a plain data frame.
A data frame subsetted on rows i
and cols j
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.