The function provides a mapping from ggpcp
internal variable names to the
variables' functional purpose in the grammar of graphics framework. Any of
the defaults can be overwritten by the user or flexibly expanded by other
aesthetic mappings in the usual manner.
Usage
aes_pcp(
x = pcp_x,
y = pcp_y,
yend = pcp_yend,
class = pcp_class,
group = pcp_id,
level = pcp_level,
label = pcp_level,
...
)
Examples
library(ggplot2)
iris |>
pcp_select(tidyselect::everything()) |>
pcp_scale() |>
pcp_arrange() |>
ggplot(aes_pcp(colour = Species)) +
geom_pcp() +
theme_pcp()