Nothing
library(ggplot2)
plot_model <- function(model, data) {
ggplot(data) +
geom_point(aes(x = Temp, y = Ozone)) +
geom_abline(intercept = model[1], slope = model[2]) +
theme_gray(24)
}
dat <- read.csv("data/data.csv")
coefs <- scan("output/coefs.dat", quiet=TRUE)
p <- plot_model(coefs, dat)
ggsave("output/plot.pdf", p)
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.