plot.packageRank {packageRank}R 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)

[Package packageRank version 0.9.1 Index]