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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/read_nmtables.R

Description

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

Usage

1
2
3
4
5
6
7
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

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

## End(Not run)

pmxTools documentation built on Aug. 27, 2020, 1:10 a.m.