Learn R Programming

packageRank (version 0.4.2)

ipFilter: Filter Out A-Z Campaigns from IPs with many unique package downloads.

Description

Uses run length encoding, rle(), and k-means clustering, stats::kmeans().

Usage

ipFilter(cran_log, campaigns = TRUE, rle.depth = 100,
  case.sensitive = FALSE, multi.core = TRUE)

Arguments

cran_log

Object. Package log entries.

campaigns

Logical. Filter A-Z campaigns when checking IPs with high unique package download counts.

rle.depth

s Numeric. Ceiling for number of rows of run length encoding. Fewer rows means longer runs

case.sensitive

Logical.

multi.core

Logical or Numeric. TRUE uses parallel::detectCores(). FALSE uses one, single core. You can also specify the number logical cores. Mac and Unix only.