comments.model: Extract Comments from Model

View source: R/model.R

comments.modelR Documentation

Extract Comments from Model

Description

Extracts comments from model.

Usage

## S3 method for class 'model'
comments(
  x,
  fields = c("symbol", "unit", "label"),
  expected = character(0),
  na = NA_character_,
  tables = TRUE,
  ...
)

Arguments

x

model

fields

data items to scavenge from control stream comments

expected

parameters known from NONMEM output

na

string to use for NA values when writing default metafile

tables

whether to include table comments

...

passed arguments

Value

data.frame

See Also

Other comments: comments.inits(), comments.items(), comments()

Examples

library(magrittr)
options(project = system.file('project/model',package='nonmemica'))
1001 %>% as.model %>% comments

bergsmat/nonmemica documentation built on Sept. 15, 2023, 9:22 a.m.