makeWordListCounts: Generate frequency counts by substring for passwords in a...

Description Usage Arguments Value Examples

Description

Returns a list of the frequency count of string "x" found in the original password string (orig column of 'passwords' variable). The search performed is case insensitive. Intended to be used in a *apply() function.

Usage

1
makeWordListCounts(x, passwords)

Arguments

x

a chacter vector to grep & count in source password list

passwords

data frame of passwords with basewords already computed

Value

list of the counts of each character string

Examples

1
2
passwords <- readPass("singles.org.txt")
printCounts(makeWordListCounts(months.abb, passwords), nrow(passwords))

ddsbook/ripal documentation built on May 15, 2019, 1:53 a.m.