Learn R Programming

ggloop (version 0.1.0)

is.c: Determine if the first element of a parse tree is identical to the c function.

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

is.c(expr)

Arguments

expr
A parse tree generated by substitute().