Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

wrap_subexpr_in_curly

Wrap a sub-expression in curly braces


Description

Wraps some rows of a parse table into a sub-expression.

Usage

wrap_subexpr_in_curly(pd, ind_to_be_wrapped, indent_by, space_after)

Arguments

pd

A parse table.

ind_to_be_wrapped

The indices of the rows that should be wrapped into a new expression.

space_after

How many spaces should be inserted after the closing brace.


styler

Non-Invasive Pretty Printing of R Code

v1.4.1
MIT + file LICENSE
Authors
Kirill Müller [aut], Lorenz Walthert [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.