Skip to contents

Extract parameter summary (theta, eta, SE, RSE, CI, CV, shrinkage)

Usage

sg_parsum(fpath_i, addOFV = TRUE)

Arguments

fpath_i

String, GFO, or a named list with a GFO component (and optionally GCO). If a string is given, the path to a .RData or .json file with a fit object is expected.

addOFV

Logical. If TRUE, information about OFV and AIC of the model will be added. Default is TRUE.

Value

Table derived from GFO $SUMTAB (and $OFV when addOFV = TRUE).

Examples

fpath_i <- system.file("extdata", "simurg_object", "Warfarin_PK.RData", package = "SimuRg")
#> Warning: cannot open compressed file '/tmp/RtmpLedq7K/temp_libpath8b6abff614d/SimuRg/DESCRIPTION', probable reason 'No such file or directory'
sum_tab <- sg_parsum(fpath_i)
#> Error: cannot open file '/tmp/RtmpLedq7K/temp_libpath8b6abff614d/SimuRg/R/SimuRg.rdb': No such file or directory
print(sum_tab)
#> Error: object 'sum_tab' not found