News

Learn how to add a trend line to your R scatter plot using the abline() function or the ggplot2 package. Compare the advantages and disadvantages of each method.
Note the column name, mpg, is unquoted. That feature hasn’t been handy, though, if you want to write your own R functions using the tidyverse. That’s because base R functions usually need ...
For everything from styling text and customizing color palettes to creating your own geoms, these ggplot2 add-ons deserve a place in your R data visualization toolkit. Plus, a bonus list of ...