R: Generate pred-only SAEM RxODE model

rxGenSaem {RxODE} | R Documentation

## Generate pred-only SAEM RxODE model

### Description

Generate pred-only SAEM RxODE model

### Usage

    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(s)

Matthew Fidler

[Package RxODE version 1.1.2 Index]