File:Geom smooth ex.png
Jump to navigation
Jump to search
Size of this preview: 800 × 600 pixels. Other resolution: 2,400 × 1,800 pixels.
Original file (2,400 × 1,800 pixels, file size: 110 KB, MIME type: image/png)
Summary
library(dplyr) #group the data by cyl and create the plots mpg %>% group_by(cyl) %>% ggplot(aes(x=displ, y=hwy, color=factor(cyl))) + geom_point() + geom_smooth(method = "lm", se = FALSE) + theme(legend.position="none")
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 15:40, 15 December 2022 | 2,400 × 1,800 (110 KB) | Brb (talk | contribs) | <pre> library(dplyr) #group the data by cyl and create the plots mpg %>% group_by(cyl) %>% ggplot(aes(x=displ, y=hwy, color=factor(cyl))) + geom_point() + geom_smooth(method = "lm", se = FALSE) + theme(legend.position="none") </pre> |
You cannot overwrite this file.
File usage
The following page uses this file: