sumoR {nonmem2R}R Documentation

Compile summary information for NONMEM model based on the lst file, ext file, and the cov file.

Description

Compile summary information similar to that of the sumo PSN function, based on the NONMEM output files lst, ext, and if covariance setp was run, the cov file.

Usage

sumoR(
  model,
  use.model.path = TRUE,
  tableType = 2,
  format.estimate = "% -#6.4g",
  format.rse = "%#6.3g"
)

Arguments

model

name of the lst file with or without the .lst extension. model may include full or relative path to the lst file.

use.model.path

Load file from a global defined model library (TRUE=default). If so will look for a global character vector named model.path

tableType

Table type for THETA's, OMEGA's and SIGMA's
tableType=0: Present OMEGA and SIGMA as variance and covariances and display SE for THETA, OMEGA, SIGMA
tableType=1: Present OMEGA and SIGMA as variance and covariances and display RSE for THETA, OMEGA, SIGMA
tableType=2: Present OMEGA and SIGMA as standard-deviation and correlations and display RSE for THETA, OMEGA, SIGMA
tableType=3: Present OMEGA and SIGMA as standard-deviation and correlations and display SE for THETA, OMEGA, SIGMA

format.estimate

format for estimated value, passed to sprintf

format.rse

format for RSE or SE, passed to sprintf

Value

named list of class sumoR

Examples

##### Compile summary information from the .lst file "run001.lst"
# 1) Get path to the example file included in nonmem2R package
file1 <- system.file("extdata", "run001.lst", package = "nonmem2R")
# 2) Compile summary information from "run001.lst"
sumoR(file1)

[Package nonmem2R version 0.2.5 Index]