Values are plotted against a variable. The object returned is of class "ggplot"
and can be further customized. To avoid overplotting, try alpha = 0.2
or
position = "jitter"
.
# S3 method for class 'light_scatter'
plot(x, swap_dim = FALSE, facet_scales = "free_x", rotate_x = FALSE, ...)
An object of class "light_scatter".
If multiflashlight and one "by" variable, or single flashlight with two "by" variables, swap the role of color variable and facet variable. If multiflashlight or one "by" variable, use colors instead of facets.
Scales argument passed to ggplot2::facet_wrap()
.
Should x axis labels be rotated by 45 degrees?
Further arguments passed to ggplot2::geom_point()
. Typical arguments
would be alpha = 0.2
or position = "jitter"
to avoid overplotting.
An object of class "ggplot".