Description Usage Arguments Details Value Author(s) References Examples
This functions creates a ggplot2 graph of the number of downloads of a chosen package from the R Studio CRAN mirror. The graph can be by month or by day.
1 2 | plotDownloads(PackageName = "ggplot2", from = "2016-04-01",
to = "2016-11-30", by = "month")
|
PackageName |
Name of the package. |
from |
Start date, in |
to |
End date, in |
by |
Plot downloads by |
When plotting by day, each month/year combination is assigned a different colour.
A ggplot2
object based on the parameter settings.
Ewoud De Troyer
Not really.
1 2 3 4 5 | ## Not run:
plotDownloads("ggplot2",from="2015-01-01",to="2016-11-30")
plotDOwnloads("ggplot2",from="2016-04-01",to="2016-11-30",by="day")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.