modelparse: Parse model specification text

View source: R/modspec.R

modelparseR Documentation

Parse model specification text

Description

Parse model specification text

Usage

modelparse(txt, split = FALSE, drop_blank = TRUE, comment_re = c("//", "##"))

modelparse_rmd(txt, split = FALSE, drop_blank = TRUE, comment_re = "//")

Arguments

txt

model specification text

split

logical

drop_blank

logical; TRUE if blank lines are to be dropped

comment_re

regular expression for comments

Examples

file <- file.path(modlib(), "pk1.cpp")

modelparse(readLines(file))


metrumresearchgroup/mrgsolve documentation built on Feb. 13, 2024, 10:27 p.m.