initial_estimates: Retrieve and format initial parameter estimates

View source: R/initial-estimates.R

initial_estimatesR Documentation

Retrieve and format initial parameter estimates

Description

Retrieve and format initial parameter estimates

Usage

initial_estimates(.mod, flag_fixed = FALSE)

Arguments

.mod

a bbr model object

flag_fixed

Logical (TRUE/FALSE). If TRUE, return which parameters are fixed.

Details

NA values indicate that they were not specified in the control stream file. This is true for THETA bounds and whether a given parameter is FIXED or not.

If you would like the OMEGA or SIGMA records formatted as full matrices, they are stored as attributes:

 initial_est <- initial_estimates(.mod)
 attr(initial_est, "omega_mat")
 attr(initial_est, "sigma_mat")

Examples

mod1 <- read_model(
  system.file("model", "nonmem", "basic", "1", package = "bbr")
)

initial_estimates(mod1)


metrumresearchgroup/rbabylon documentation built on April 21, 2024, 3:26 a.m.