beautify_rule: Replaces consecutive "&"s and "|"s in a string to a single &...

Description Usage Arguments Details Value Examples

View source: R/domain.R

Description

Replaces consecutive "&"s and "|"s in a string to a single "&" and "|".

Usage

1

Arguments

rule

A string containing positive integers, parentheses, and "&" and "|" only.

Details

Applied to domain$rule if domain$type == "polynomial".

Value

A string with extra "&"s and "|"s removed.

Examples

1
beautify_rule("(1 & 2 && 3 &&& 4) | 5 || 6 ||| 7")

genscore documentation built on April 28, 2020, 1:06 a.m.