rot_at | R Documentation |
Pass in a list of gg or patchwork objects and rotate tick marks on x or y axes.
rot_at(x, at = names(x), re = NULL, axis = c("x", "y"), ...)
x |
a named list of gg or patchwork objects. |
at |
a character vector of list names to rotate. |
re |
a regular expression for selecting names to be used for |
axis |
which axis to rotate. |
... |
additional arguments passed to |
Note that all plots in the list need to be named.
rot_xy()
, rot_x()
, rot_y()
.
data <- pmplots_data_id()
co <- c("STUDYc", "CPc", "RF")
etas <- paste0("ETA", 1:3)
x <- eta_cat(data, x = co, y = etas)
names(x)
x <- rot_at(x, at = "ETA1vRF", angle = 35)
x$ETA1vRF
x <- rot_at(x, re = "RF", vertical = TRUE)
x$ETA2vRF
x$ETA3vRF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.