Paul Clark
06-04-2017
See app at https://clarpaul.shinyapps.io/add_point/
For all code, see repo https://github.com/clarpaul/DevDataProducts_Project/
App code in subfolder “Add_Point”
Primary Goals
plot(mtcars$mpg, mtcars$hp,
main = paste0("Horsepower",
" vs. Miles-per-gallon"),
xlab = "MPG", ylab = "HP",
bty = "n", pch = 16,
xlim = c(10, 35),
ylim = c(50, 350))
mtext("R `mtcars` dataset")
model1 <- lm(hp ~ mpg,
data = mtcars)
abline(model1, col = "red",
lwd = 2)