plot.annualDownloads: Plot method for annualDownloads().

View source: R/annualDownloads.R

plot.annualDownloadsR Documentation

Plot method for annualDownloads().

Description

Plot method for annualDownloads().

Usage

## S3 method for class 'annualDownloads'
plot(x, statistic = "count", pool = TRUE,
  log.y = FALSE, sep.y = FALSE, nrow = 3, smooth = TRUE, f = 1/4,
  span = 3/4, points = FALSE, line.col = "gray", ...)

Arguments

x

object.

statistic

Character. "count" or "percent".

pool

Logical. Pool annual data into single time series.

log.y

Logical. Base 10 logarithm of y-axis.

sep.y

Logical. Separate, independent y-scales for each panel.

nrow

Numeric. Number of rows for ggplot2 facets.

smooth

Logical. Add smoother (loess).

f

Numeric. Parameter for lowess.

span

Numeric. Smoothing parameter for geom_smooth(), which uses loess.

points

Logical.

line.col

Character. Color of line

...

Additional plotting parameters.


packageRank documentation built on Oct. 16, 2024, 9:06 a.m.