
Last chance! 50% off unlimited learning
Sale ends in
Interpret a value based on a set of rules. See rules()
.
interpret(x, ...)# S3 method for numeric
interpret(x, rules, name = attr(rules, "rule_name"), ...)
Vector of value break points (edges defining categories).
Currently not used.
Set of rules()
.
Name of the set of rules (stored as a 'rule_name' attribute).
rules
# NOT RUN {
rules_grid <- rules(c(0.01, 0.05), c("very significant", "significant", "not significant"))
interpret(0.001, rules_grid)
interpret(0.021, rules_grid)
interpret(0.08, rules_grid)
interpret(c(0.01, 0.005, 0.08), rules_grid)
interpret(c(0.35, 0.15), c("small" = 0.2, "large" = 0.4), name = "Cohen's Rules")
interpret(c(0.35, 0.15), rules(c(0.2, 0.4), c("small", "medium", "large")))
# }
Run the code above in your browser using DataLab