Nothing
fit.plot <- function(mat) {
requireNamespace("ggplot2")
ggplot( mat, aes(x = mat$ti, y = mat$cases) ) +
geom_point( size = 5, alpha = .1) + theme_bw() +
geom_line( aes(x = mat$ti, y = mat$fit), size = 1.2 ) +
theme( legend.position = ("bottom") ) +
theme( axis.text.y = element_text(size = 12),
axis.title.y = element_text(size = 14, face = "bold") ) +
theme( axis.text.x = element_text(size = 16, face = "bold" ),
axis.title.x = element_text(size = 16, face = "bold") ) +
xlab( "Time (days)" ) +
ylab( "Cases" )
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.