Updated October 4, 2018
Today I’m going to show you how to make line plots using ezplot. We’ll use
the mk_lineplot()
function. Make sure you first install ezplot by running the
command devtools::install_github("gmlang/ezplot")
.
The ezplot package comes with a films dataset containing annual boxoffice/budget ratios between 1913 and 2014. Let’s plot these ratios over the years.
For another example, let’s plot annual budget and boxoffice over the years.
If you liked these how-to blog posts, you may want to check out my ezplot book. If ezplot has improved your productivity, please tell your friends about it.