update_themes {xpose} | R Documentation |
Create xpose theme
Description
Create an xpose theme. This function will update the theme of an
xpdb object. All plots generated with this xpdb will automatically use the
defined xpose (xp_theme
) and ggplot2 (gg_theme
) themes.
Usage
update_themes(xpdb = NULL, gg_theme = NULL, xp_theme = NULL, quiet)
Arguments
xpdb |
An |
gg_theme |
A complete ggplot2 theme object (e.g.
|
xp_theme |
A complete xpose theme object (e.g.
|
quiet |
Logical, if |
Examples
# Before default theme
dv_vs_ipred(xpdb_ex_pk, facets = 'SEX')
# Updating the gg_theme and xp_theme
xpdb_ex_pk %>%
update_themes(gg_theme = theme(legend.position = 'top'),
xp_theme = list(point_color = 'blue',
line_color = 'blue')) %>%
dv_vs_ipred(facets = 'SEX')
[Package xpose version 0.4.18 Index]