Austen
2026-11-08
author: Your Name date: November 2026
A Shiny app for exploring how penguin body mass relates to flipper length
The app fits a simple linear model to the brushed points:
d <- na.omit(penguins[, c("species", "body_mass", "flipper_len")])
m <- lm(flipper_len ~ body_mass, data = d)
round(coef(m), 4)## (Intercept) body_mass
## 136.7296 0.0153