Description Usage Arguments Examples
View source: R/high-level-interface.R
Visualize all columns
1 2 3 |
data |
The data to use for plotting. |
... |
Variables to select. You can use tidy selectors such as
|
transformer |
A transformation function that defines the concrete visualization. |
sub_dir |
The name of the sub-directory under ./simplificar used to
save the data under, if you select a transformer with side effects. If
set to |
called_for_side_effects |
Whether or not the function is called for it's
side effects. If |
k_dimensional |
The number of dimensions of the plot. If |
return_vis |
Whether or not the plot should, in addition to being written to a file, be the return value of the function call. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # one aesthetic
vis_cols(mtcars, 2) %>%
flatten_gg()
vis_cols(mtcars, contains("c"), "vs",
transformer = vis_distr, k_dimensional = 2
) %>%
merge_vis()
# all combinations of multiple aesthetics
mtcars %>%
transform_cols("vs", "as.factor") %>%
vis_cols(vs, hp, cyl, transformer = vis_2d_point) %>%
dplyr::slice(1) %>%
flatten_gg()
dummy_types %>%
vis_cols(num1, fct1, int1, transformer = vis_2d_distr) %>%
merge_vis()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.