match_brace: Utility Function for Matching a Closing Brace

Description Usage Arguments Value

View source: R/stringterpolate.R

Description

Given positions of opening and closing braces match_brace identifies the closing brace matching the first opening brace.

Usage

1
match_brace(opening, closing)

Arguments

opening

integer: Vector with positions of opening braces.

closing

integer: Vector with positions of closing braces.

Value

Integer with the posision of the matching brace.


nick-youngblut/HTSSIP documentation built on May 23, 2019, 4:46 p.m.