palmerpenguins
ggplot2
names
values
readr::read_csv
janitor
skip = n
comment = "#"
col_names = FALSE
col_names
col_types
problems()
NA
\
fct_reorder()
dplyr::antijoin
forcats 1.0.0
join_by()
rescale01()
across()
[
[[
$
apply()
for()
Global aesthetics:
ggplot()
ggplot( data = penguins, mapping = aes( x = flipper_length_mm, y = body_mass_g, color = species ) ) + geom_point() + geom_smooth(method = "lm")
Local aesthetics:
geom_*()
ggplot( data = penguins, mapping = aes( x = flipper_length_mm, y = body_mass_g ) ) + geom_point( aes(color = species)) + geom_smooth(method = "lm")