Learn R Programming

formulops (version 0.5.0)

simplify_parens: Remove extraneous parentheses from a formula.

Description

Remove extraneous parentheses from a formula.

Usage

simplify_parens(x)

Value

The simplified formula

Arguments

x

The formula (or call) to simplify

Examples

Run this code
simplify_parens(((a))~((b+c)))

Run the code above in your browser using DataLab