parse_assignments: Some stan code won't parse to R. The only time that it's...

Description Usage Arguments

View source: R/expr_util.r

Description

Some stan code won't parse to R. The only time that it's needed is when figuring out assignments This tries to parse to R; if it fails, it wraps the lhs in quotes and parses that

Usage

1
parse_assignments(x_lst, .def_side = c("lhs", "rhs"))

Arguments

x_lst

text of an assignment to be parsed

.def_side

if there's no assignment, what should it be treated as?


Christopher-Peterson/macroStan documentation built on Oct. 30, 2019, 5:42 a.m.