rules2medmod: Convert rules from cutoffs to median/mode and range

View source: R/rules2medmod.R

rules2medmodR Documentation

Convert rules from cutoffs to median/mode and range

Description

Convert rules from cutoffs to median (range) and mode (range) format

Usage

rules2medmod(rules, x, .ddSci = TRUE, verbose = TRUE, trace = 0)

Arguments

rules

Character, vector: Input rules

x

Data frame: Data to evaluate rules

.ddSci

Logical: If TRUE, format all continuous variables using ddSci, which will give either 2 decimal places, or scientific notation if two decimal places result in 0.00

verbose

Logical: If TRUE, print messages to console.

trace

Integer: If greater than zero, print progress

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Dec. 17, 2024, 6:16 p.m.