Categorizes results of test_features
function into groups based on their
significance.
# S3 method for feature_test cut(x, split = "significances", breaks = c(0, 1e-04, 0.01, 0.05, 1), ...)
x | an object of class |
---|---|
split | attribute along which output should be categorized. Possible values are
|
breaks | a vector of significances of frequencies along which n-grams are aggregated.
See description of |
... | further parameters accepted by the |
the value of function depends on the split
parameter.
The function returns a named list of length equal to the length
of significances
(when split
equals "significances"
) or
frequencies
(when split
equals "positives"
or "negatives"
)
minus one. Each elements of the list contains names of the n-grams belonging to the given
significance or frequency group.