powered by
The precision_on variable is the variable used to establish numeric precision. This variable must be included in the list of target_var variables.
target_var
get_precision_on(layer)set_precision_on(layer, precision_on)
set_precision_on(layer, precision_on)
For get_precision_on, the precision_on binding of the supplied layer. For set_precision_on the modified layer environment.
get_precision_on
set_precision_on
A tplyr_layer object
tplyr_layer
A string, a variable name, or a list of variable names supplied using dplyr::vars.
dplyr::vars
# Load in pipe library(magrittr) lay <- tplyr_table(mtcars, gear) %>% add_layer( group_desc(vars(mpg, disp), by=vars(carb, am)) %>% set_precision_on(disp) )
Run the code above in your browser using DataLab