Aesthetic Mappings
October 30, 2024
In the plot above, one group of points (highlighted in red) seems to fall outside of the linear trend.
An aesthetic is a visual property (e.g., size
, shape
, color
) of the objects (e.g., class
) in your plot.
You can display a point in different ways by changing the values of its aesthetic properties.
color
to the plotshape
to the plotsize
to the plotcolor
to the plot, manuallycolor
to the plot, manuallyfill
to the plot, manuallygeom_*()
has a different set of aesthetic parameters.
fill
is available for geom_smooth()
, not geom_point()
.size
to the plot, manuallyalpha
to the plot, manuallygeom_*()
outside of aes()