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))


mrgsolve documentation built on Oct. 18, 2024, 5:12 p.m.