NMreadPhi {NMdata}R 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. If 'auto.ext=TRUE', the extension will automatically be changed using the setting in 'NMdataConf()$file.fir' - this by default means that the '.phi' extension will be used no matter what extension the provided file name has.

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 TRUE (default) the extension will automatically be modified using 'NMdataConf()$file.phi'. This means 'file' can be the path to an input or output control stream, and 'NMreadPhi' will still read the '.phi' file.

file.phi

Deprecated. Use 'file'.

Value

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


[Package NMdata version 0.1.6 Index]