read_nm_multi_table: Read (single or) multiple NONMEM tables from a single file

View source: R/read_nmtables.R

read_nm_multi_tableR Documentation

Read (single or) multiple NONMEM tables from a single file

Description

Read (single or) multiple NONMEM tables from a single file

Usage

read_nm_multi_table(
  fileName,
  header = TRUE,
  ...,
  simplify = TRUE,
  table_start_pattern = "^TABLE NO"
)

Arguments

fileName

The filename to read from

header, ...

Arguments passed to read.table

simplify

If a single table is present, return a data.frame instead of a list of data.frames?

table_start_pattern

What should be found to start a new table?

Value

A list of data.frames, or if only one is present and simplify=TRUE, a data.frame.

Author(s)

Bill Denney

See Also

Other NONMEM reading: plot_scm(), read_nm_all(), read_nmcov(), read_nmext(), read_nmtables(), read_nm(), read_scm()

Examples

## Not run: 
read_nm_multi_table("run1.cov", row.names=1)

## End(Not run)

pmxTools documentation built on March 7, 2023, 7:58 p.m.