| modelparse | R Documentation |
Parse model specification text
modelparse(
txt,
split = FALSE,
drop_blank = TRUE,
comment_re = c("//", "##"),
keep_mapping = FALSE
)
modelparse_rmd(txt, split = FALSE, drop_blank = TRUE, comment_re = "//")
txt |
model specification text. |
split |
logical; if |
drop_blank |
logical; |
comment_re |
regular expression to identify comments. |
keep_mapping |
if |
modelsplit() and modelunsplit() for a non-destructive
split/reassemble alternative.
file <- file.path(modlib(), "pk1.cpp")
code <- readLines(file)
modelparse(code)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.