ggplot2_args | R Documentation |
ggplot2_args
object
Constructor of ggplot2_args
class of objects.
The ggplot2_args
argument should be a part of every module which contains any ggplot2
graphics.
The function arguments are validated to match their ggplot2
equivalents.
For more details see the vignette: vignette("custom-ggplot2-arguments", package = "teal.widgets")
.
ggplot2_args(labs = list(), theme = list())
labs |
(named |
theme |
(named |
(ggplot2_args
) object.
resolve_ggplot2_args()
to resolve multiple objects into one using pre-defined priorities.
parse_ggplot2_args()
to parse resolved list into list of calls.
ggplot2_args(
lab = list(title = "TITLE"),
theme = list(title = ggplot2::element_text(size = 20))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.