plot.weeklyDownloads: Plot method for weeklyDownloads().

View source: R/weeklyDownloads.R

plot.weeklyDownloadsR Documentation

Plot method for weeklyDownloads().

Description

Plot method for weeklyDownloads().

Usage

## S3 method for class 'weeklyDownloads'
plot(x, statistic = "percent",
  aggregation = "day", typical.value = "mean", nrow = 3L, ...)

Arguments

x

object.

statistic

Character. "count" or "percent".

aggregation

Character. "week" or "day".

typical.value

Character. "mean" or "median".

nrow

Numeric. Number of rows for ggplot2 facets.

...

Additional plotting parameters.

Examples

## Not run: 
plot(weeklyDownloads())
plot(weeklyDownloads(n = 9), aggregation = "week")

## End(Not run)

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