remove_title | R Documentation |
Remove plot title or caption
remove_title(plot)
remove_caption(plot)
plot |
A |
A tidyplot
object.
# Before removing
animals |>
tidyplot(x = weight, y = speed, color = family) |>
add_data_points() |>
add_title("Name of the plot") |>
add_caption("This is the caption")
# After removing
animals |>
tidyplot(x = weight, y = speed, color = family) |>
add_data_points() |>
add_title("Name of the plot") |>
add_caption("This is the caption") |>
remove_title()
animals |>
tidyplot(x = weight, y = speed, color = family) |>
add_data_points() |>
add_title("Name of the plot") |>
add_caption("This is the caption") |>
remove_caption()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.