genPhiFile function

Generate a .phi file for further simulation with Nonmem

Generate a .phi file for further simulation with Nonmem

This will typically be used in a couple of different situations. One is if a number of new subjects have been simulated and their ETAs should be reused in subsequent simulations. Another is internally by NMsim when simulating new subjects from models estimated with SAEM.

genPhiFile(data, file)

Arguments

  • data: A dataset that contains "ID" and all ETAs. This can be obtained by NMdata::NMscanData.
  • file: Path to the .phi file to be written.

Returns

Invisibly, character lines (strings) optionally written to file

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