get_add_etas_table: Consequences of including additional subject-level random...

View source: R/qa_get_add_etas_table.R

get_add_etas_tableR Documentation

Consequences of including additional subject-level random effects on selected parameters in terms of estimated standard deviation (SD) of new and existing random effect parameters as well as expected improvement in OFV.

Description

Consequences of including additional subject-level random effects on selected parameters in terms of estimated standard deviation (SD) of new and existing random effect parameters as well as expected improvement in OFV.

Usage

get_add_etas_table(
  original_max0_model,
  add_etas_dir,
  added_etas,
  dofv_add.etas,
  nonlinear,
  quiet = F
)

Arguments

original_max0_model

The base model file name.

add_etas_dir

A name of the directory where add_etas_linbase.ext (nonlinear=FALSE) or add_etas.ext (nonlinear=TRUE) can be found.

added_etas

A list of additional etas and their numeric position in the model. (added_etas <- list(TPEN=6, SIND=5))

dofv_add.etas

Difference between base model and the model with additional etas OFV values.

nonlinear

A logical indicating whether nonlinear qa have been run.

quiet

A logical indicating whether function should not write the warning message if some file not found. By default quiet=FALSE.

Value

A list of 2 arguments: add_etas_table - a data frame add_etas_error - a logical indicating whether both ext files original_max0_model and add_etas_linbase.ext/add_etas.ext exist in the folder


UUPharmacometrics/pmutils documentation built on July 4, 2023, 1:15 a.m.