NMreadPhi: Read information from Nonmem phi files

View source: R/NMreadPhi.R

NMreadPhiR Documentation

Read information from Nonmem phi files

Description

Read information from Nonmem phi files

Usage

NMreadPhi(file, as.fun, modelname, col.model, auto.ext, file.phi)

Arguments

file

Path to the phi file. See 'auto.ext' too.

as.fun

The default is to return data as a data.frame. Pass a function (say tibble::as_tibble) in as.fun to convert to something else. If data.tables are wanted, use as.fun="data.table". The default can be configured using NMdataConf.

modelname

See ?NMscanData

col.model

See ?NMscanData

auto.ext

If 'auto.ext=TRUE', the file name extension will automatically be changed using the setting in 'NMdataConf()$file.phi' - this by default means that the '.phi' extension will be used no matter what extension the provided file name has.

file.phi

Deprecated. Use 'file'.

Value

A list with a final parameter table and a table of the iterations


philipdelff/NMdata documentation built on March 5, 2025, 12:20 a.m.