NMreadPhi function

Read information from Nonmem phi files

Read information from Nonmem phi files

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.

Returns

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

  • Maintainer: Philip Delff
  • License: MIT + file LICENSE
  • Last published: 2025-03-21