| col_bracket | R Documentation |
A wrapper function for bracket notation on two-dimensional objects, with bracketing on the columns.
col_bracket(data_object, index, ...)
data_object |
a data object |
index |
a character, logical, or numeric vector |
... |
additional arguments passed to |
a subset of the data
# load package
data(nhanes)
# look at the first few values of dmdborn4
nhanes |> col_bracket('dmdborn4') |> head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.