plot.packageRank: Plot method for packageRank() and packageRank0().

View source: R/packageRank.R

plot.packageRankR Documentation

Plot method for packageRank() and packageRank0().

Description

Plot method for packageRank() and packageRank0().

Usage

## S3 method for class 'packageRank'
plot(x, graphics = NULL, log.y = TRUE, ...)

Arguments

x

An object of class "packageRank" created by packageRank().

graphics

Character. "base" or "ggplot2".

log.y

Logical. Logarithm of package downloads.

...

Additional plotting parameters.

Value

A base R or ggplot2 plot.

Examples

## Not run: 
plot(packageRank(packages = "HistData", date = "2020-01-01"))
plot(packageRank(packages = c("h2o", "Rcpp", "rstan"), date = "2020-01-01"))

## End(Not run)

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