Description Usage Arguments Value
View source: R/ThreadNet_Metrics.R
Computes the fraction of observed behavior that conforms to an observed pattern. Current version uses ngrams, but it would be good to use spmf pattern mining to avoid including duplicate patterns (e.g., a-b-c and b-c-d)
1 | routineness_metric(o, TN, CF, n, m)
|
o |
data frame with occurresnces or events |
TN |
name of column with threadNumbers |
CF |
name of column with contextual factor |
n |
size of ngram |
m |
how many of the most frequent ngrams to include. When m > 1, there is a risk of duplication. |
number, index of routineness.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.