NMsim_typical function

Typical subject simiulation method

Typical subject simiulation method

Like NMsim_default but with all ETAs=0, giving a "typical subject" simulation. Do not confuse this with a "reference subject" simulation which has to do with covariate values. Technically all ETAs=0 is obtained by replacing $OMEGA by a zero matrix.

NMsim_typical(file.sim, file.mod, data.sim, return.text = FALSE)

Arguments

  • file.sim: See ?NMsim.
  • file.mod: See ?NMsim.
  • data.sim: See ?NMsim.
  • return.text: If TRUE, just the text will be returned, and resulting control stream is not written to file.

Returns

Path to simulation control stream

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