Parses the OMEGA covariance matrix diagonal (variance of random effects)
and, if available, standard errors, RSE, and ETA shrinkage from a NONMEM
.lst file.
Arguments
- lst
An object of class
"lst"fromread_lst_file().- digits
Integer or
NA. Rounding forrse. DefaultNA.- shk_digits
Integer or
NA. Rounding forshrinkage. DefaultNA.
Value
A tibble with columns:
- parameter
Character. Parameter label as printed (e.g.
"ETA1";"ET10"from the tenth ETA on).- estimate
Numeric. Diagonal variance estimate.
- se
Numeric. Standard error.
NAif no covariance step.- rse
Numeric. Relative standard error (%).
NAif no covariance step.- shrinkage
Numeric. ETA shrinkage (%).
NAif not reported.
Examples
path <- system.file("extdata", "lst", "s01_focei_cov_success.lst",
package = "lstparsR")
lst <- read_lst_file(path)
fetch_etas(lst)
#> # A tibble: 3 × 5
#> parameter estimate se rse shrinkage
#> <chr> <dbl> <dbl> <dbl> <dbl>
#> 1 ETA1 0.0841 0.0213 25.3 8.42
#> 2 ETA2 0.0529 0.0187 35.3 21.3
#> 3 ETA3 0.312 0.0954 30.6 37.9