interactivePlots {Visualize.CRAN.Downloads} | R Documentation |
function that generates interactive plots of the package downloads logs from CRAN
Description
function that generates interactive plots of the package downloads logs from CRAN
Usage
interactivePlots(
downloads.data,
mytitle = paste(downloads.data$package[1], "Package downloads counts"),
nbrPlts = 2,
month.ln = 30,
HTMLfile = paste0("Interactive_DWNLDS_", downloads.data$package[1], ".html"),
device = "HTML",
dirSave = NULL
)
Arguments
downloads.data |
total downloads from the package |
mytitle |
optional char argument specifying the title to be displayed |
nbrPlts |
optional numeric argument specifying number of plots to generate |
month.ln |
optional numeric argument specifying the lenght of the month in days |
HTMLfile |
an optional string argument specifying the name of the file where to save the plots |
device |
an optional string describing whether the interactive plot will be set to screen or to save in an HTLM file |
dirSave |
specify a valid directory where to save the plot |
Examples
## Not run:
packageXdownloads <- retrievePckgData("ggplot")[[1]]
interactivePlots(packageXdownloads)
## End(Not run)
[Package Visualize.CRAN.Downloads version 1.0.3 Index]