Skip to contents

Creates an object for calculating Omega/Omega^-1 and derivatives

Usage

rxSymInvCholCreate(
  mat,
  diag.xform = c("sqrt", "log", "identity"),
  create.env = TRUE,
  envir = parent.frame(),
  same = NULL
)

Arguments

mat

Initial Omega matrix

diag.xform

transformation to diagonal elements of OMEGA. or chol(Omega^-1)

create.env

– Create an environment to calculate the inverses. (By default TRUE)

envir

– Environment to evaluate function, bu default it is the parent frame.

same

Optional integer vector over the etas of mat, as returned by lotri::lotriSameMap(): 0 for an ordinary or master eta, otherwise the index of the eta it mirrors. Blocks that repeat an earlier one (NONMEM's $OMEGA BLOCK(n) SAME) then share that block's parameters instead of being estimated separately.

Value

A rxSymInv object OR a rxSymInv environment

Author

Matthew L. Fidler