Add a labels state specification to a trelliscope display
Source:R/pipe_functions.R
set_default_sort.Rd
Add a labels state specification to a trelliscope display
Arguments
- trdf
A trelliscope data frame created with
as_trelliscope_df()
or a data frame which will be cast as such.- varnames
A vector of variable names to sort on.
- dirs
A vector of directions to sort on ("asc" or "desc").
- add
Should an existing sort specification be added to? If FALSE (default), the entire sort specification will be overridden.