| set_default_labs | R Documentation |
xp_xtras objectStores title/subtitle/caption/tag templates on xpdb that
apply_default_labs() will use to fill in (or overwrite) labels on any
plot built from this xpdb, when xpdb is passed to it. Values may
contain the same @keyword placeholders understood by
xpose::parse_title() (e.g. "@nind", "@nobs", "@run"), since
they are resolved the same way.
set_default_labs(xpdb, ...)
xpdb |
< |
... |
< |
xp_xtras object
set_xtras_options() for the session-option equivalent
(xpose.xtras.default_labs), and get_xtras_option() to check which
one is currently dominant.
xpdb_x <- set_default_labs(xpdb_x, caption = "@nobs observations in @nind individuals")
p <- xpose::dv_vs_ipred(xpdb_x)
apply_default_labs(p, xpdb = xpdb_x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.