is_c: Determine if the first element of a parse tree is identical...

Description Usage Arguments

Description

This provides a quick way to evaluate whether the x or y vectors have a c() wrapping. This is important for subsequent subsetting of the respective vectors. Those vectors without a c() wrapping will be wrapped by list(). Symbols are not passed to is_c() due to the subsetting of the first element of the parse-tree.

Usage

1
is_c(expr)

Arguments

expr

A parse tree generated by substitute().


seasmith/ggloop documentation built on May 29, 2019, 4:56 p.m.