importNm7Tables: Import new NONMEM 7 table files

Description Usage Arguments Value Note Author(s) Examples

Description

Imports one of the new files produced by NONMEM 7: .phi, .cor, .cov, etc. into a list of data.frames.

Usage

1
importNm7Tables(file, path=".", type=c("cov", "ext", "phi"), tableTitles=TRUE)

Arguments

file

Name of the file

path

Path to the file (can be a NONMEM path in round brackets)

type

Type of the file: One of "cov", "ext", or "phi". "cov" should be used for .cor, .cov or .coi files.

tableTitles

Single logical flag. Are the table titles present in the file? Should be FALSE, if, for example, one generates an EXT file using the NOTITLE=1 option. Currently this option ONLY works when type = "ext"

Value

a list of data.frames holding the content of the individual sub-tables within each file. Each table will have as an attribute "method", holding the name of the method associated to it, if it was available (e.g. not if tableTitles = FALSE)

Note

The "cov" type covers .cor, .cov and .coi files.

Author(s)

Mango Solutions

Examples

1
2
3
4
5
6
## Not run:  
phiTables <- importNm7Tables(type = "phi", "TestData1.phi", path = "testing/testdata/TestDataNM7")
print(phiTables[[1]])
print(attr(phiTables[[1]], "method"))

## End(Not run)

MangoTheCat/RNMImport documentation built on May 8, 2019, 4:36 p.m.