Learn R Programming

rtemis (version 0.79)

formatRules: Format rules

Description

Converts R-executable logical expressions to a more human-friendly format

Usage

formatRules(x, space.after.comma = FALSE, decimal.places = NULL)

Arguments

x

Vector, string: Logical expressions

space.after.comma

Logical: If TRUE, place spaces after commas. Default = false

decimal.places

Integer: Limit all floats (numbers of the form 9.9) to this many decimal places