Learn R Programming

packageRank (version 0.3.5)

populationPlot: Visualize a Package's Downloads Relative to "All" CRAN packages over Time.

Description

Uses a stratified random sample cohort of packages plus top ten packages.

Usage

populationPlot(x, graphics = NULL, log.count = TRUE, smooth = TRUE,
  sample.smooth = TRUE, f = 1/3, sample.pct = 5, multi.core = TRUE)

Arguments

x

object.

graphics

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

log.count

Logical. Logarithm of package downloads.

smooth

Logical. Add smoother.

sample.smooth

Logical. Add smoother.

f

Numeric. stats::lowess() smoother window. For use with graphics = "base" only.

sample.pct

Numeric. Percent of packages to sample.

multi.core

Logical or Numeric. TRUE uses parallel::detectCores(). FALSE uses one, single core. You can also specify the number logical cores to use. Note that due to performance considerations, the number of cores defaults to one on Windows.