title | R Documentation |
This is a wrapper for R's title function. See R's documentation for graphics::title for further details.
title(
main = NULL,
sub = NULL,
xlab = NULL,
ylab = NULL,
Rcss = "default",
Rcssclass = NULL,
...
)
main |
plot title |
sub |
plot sub title |
xlab , ylab |
labels on axes |
Rcss |
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle() |
Rcssclass |
character, style class |
... |
Further parameters, see documentation of graphics::title |
# add a title
plot(c(0, 1), c(0, 1), type="n", xlab="", ylab="")
title("This is the title")
title(sub="This is a bottom title")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.