Learn R Programming

report (version 0.1.0)

rules: Interpretation Grid

Description

Create a container for interpretation rules of thumb. See interpret.

Usage

rules(breakpoints, labels, if_lower = TRUE)

Arguments

breakpoints

Vector of value break points (edges defining categories).

labels

Labels associated with each category. Must contain one label more than breakpoints.

if_lower

If true, each label will be given if the value is strictly lower than its breakpoint. The contrary if false.

Examples

Run this code
# NOT RUN {
rules(c(0.05), c("significant", "not significant"), if_lower = TRUE)
# }

Run the code above in your browser using DataLab