getpattern: Determine the patterns from the 2014 Verizon DBIR

Description Usage Arguments Examples

Description

given a verisr object, this will determine which pattern the incident is in (or "Other" if no pattern is matched). Note the returned vector will be a factor with ordered levels for arranging the patterns in an order.

Usage

1
getpattern(veris)

Arguments

veris

a verisr object

Examples

1
2
3
4
5
6
7
data(veris.sample)

# produces a vector with 1-to-1 mapping to verisr object
pat <- getpattern(veris.sample)

# can summarize the results
table(pat)

jayjacobs/verisr documentation built on May 18, 2019, 5:57 p.m.