nm.remove.section: Extract control stream sections

View source: R/nm.remove.section.r

nm.remove.sectionR Documentation

Extract control stream sections

Description

Function to read NONMEM control stream and extract specific sections

Usage

nm.remove.section(secNames, ctl)

Arguments

secNames

character vector with sections to remove

ctl

character vector of scanned control stream

Value

A list with as many (named) element as there are $.... elements in the control stream

Note

This function is not intended to be called alone, but is called in the wrapper function nm.parse.control.stream

See Also

nm.parse.control.stream

Examples

nm.remove.section("EST"
   , read.mod("example1", path = getOption("qpExampleDir"), file.ext = ".ctl")
   )[[2]]


qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.