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