# \donttest{
# Fetch temperature anomaly:
anomaly <- get_temp2k()
#
# Plot output using package's built-in ggplot2 defaults
plot_temp2k(anomaly)
# Or just call plot_temp2k(), which defaults to get_temp2k() dataset
plot_temp2k()
p <- plot_temp2k(anomaly, print = FALSE)
# Modify plot such as: p + ggplot2::labs(title='Temperature Increase in the Common Era') # }
Run the code above in your browser using DataLab