plot.bioconductorDownloads: Plot method for bioconductorDownloads().

View source: R/bioconductorDownloads.R

plot.bioconductorDownloadsR Documentation

Plot method for bioconductorDownloads().

Description

Plot method for bioconductorDownloads().

Usage

## S3 method for class 'bioconductorDownloads'
plot(x, graphics = NULL,
  count = "download", cumulative = FALSE, points = "auto",
  smooth = FALSE, f = 2/3, span = 3/4, se = FALSE, log.y = FALSE,
  r.version = FALSE, same.xy = TRUE, multi.plot = FALSE,
  legend.loc = "topleft", ...)

Arguments

x

object.

graphics

Character. NULL, "base" or "ggplot2".

count

Character. "download" or "ip".

cumulative

Logical. Use cumulative counts.

points

Character of Logical. Plot points. "auto", TRUE, FALSE. "auto" for bioconductorDownloads(unit.observation = "month") with 24 or fewer months, points are plotted.

smooth

Logical. Add stats::lowess smoother.

f

Numeric. smoother window for stats::lowess(). For graphics = "base" only; c.f. stats::lowess(f)

span

Numeric. Smoothing parameter for geom_smooth(); c.f. stats::loess(span).

se

Logical. Works only with graphics = "ggplot2".

log.y

Logical. Logarithm of package downloads.

r.version

Logical. Add R release dates.

same.xy

Logical. Use same scale for multiple packages when graphics = "base".

multi.plot

Logical. Plot all data in a single window frame.

legend.loc

Character.

...

Additional plotting parameters.

Examples

## Not run: 
plot(bioconductorDownloads())
plot(bioconductorDownloads(packages = "graph"))
plot(bioconductorDownloads(packages = "graph", from = 2010, to = 2015))
plot(bioconductorDownloads(packages = "graph", from = "2014-06", to = "2015-03"))
plot(bioconductorDownloads(packages = c("graph", "IRanges", "S4Vectors"), from = 2018))

## End(Not run)

packageRank documentation built on Nov. 10, 2023, 1:07 a.m.