| lt_hide | R Documentation |
Drop columns from the rendered table without removing them from the data.
The values still travel to the client in the spec, so they remain available
to things that read the whole row, such as an interactive table's row detail
(see the detail argument of lt_interactive()).
lt_hide(x, columns)
x |
An |
columns |
Columns to select: a character vector of column names,
integer positions, or a one-sided formula. A formula whose right-hand side
references the pronoun |
x with the hidden columns recorded.
lt(head(mtcars)) |> lt_hide(~ gear + carb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.