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
1 | parse_assignments(x_lst, .def_side = c("lhs", "rhs"))
|
x_lst |
text of an assignment to be parsed |
.def_side |
if there's no assignment, what should it be treated as? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.