Generate pred-only SAEM RxODE model

rxGenSaem(
  obj,
  predfn,
  pkpars = NULL,
  sum.prod = FALSE,
  optExpression = TRUE,
  loadSymengine = TRUE
)

Arguments

obj

RxODE model (text or actual model)

predfn

prediction function

pkpars

PKpars function

sum.prod

Change addition and deletion to sum() and prod() to stabilize round off errors

optExpression

Boolean for optimizing expression to minimize more expensive calls

loadSymengine

Boolean indicating if the model should be loaded into symengine. This cause all the ODEs to be collapsed into one expression that is eventually optimized if optExpression is TRUE.

Value

RxODE text

Author

Matthew Fidler