topBasewords: Extract top 'n' basewords from a password list

Description Usage Arguments Value Examples

Description

Returns a data frame of the count and ratio of the top "N" "basewords" in the passwords data frame.

Usage

1
topBasewords(passwords, n = 10)

Arguments

passwords

a data frame of passwords with basewords already computed

n

how many most prevalent basewords to include in the resultant data frame (default: 10)

Value

data frame of count & ratio of top "n" basewords

Examples

1
2
passwords <- readPass("singles.org.txt")
basewords <- topBasewords(passwords, 20)

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