powered by
function that generates interactive plots of the package downloads logs from CRAN
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 )
total downloads from the package
optional char argument specifying the title to be displayed
optional numeric argument specifying number of plots to generate
optional numeric argument specifying the lenght of the month in days
an optional string argument specifying the name of the file where to save the plots
an optional string describing whether the interactive plot will be set to screen or to save in an HTLM file
specify a valid directory where to save the plot
if (FALSE) { packageXdownloads <- retrievePckgData("ggplot")[[1]] interactivePlots(packageXdownloads) }
Run the code above in your browser using DataLab