get_all_covariates: Table of difference between model 2 and model 4 OFV values...

View source: R/qa_get_all_covariates.R

get_all_covariatesR Documentation

Table of difference between model 2 and model 4 OFV values and number of added parameters. In case of non-missing dofv value of the full omega block, frem dofv value will be calculated as difference between model 2 and model 4 OFV values and dofv value of the full omega block.

Description

Table of difference between model 2 and model 4 OFV values and number of added parameters. In case of non-missing dofv value of the full omega block, frem dofv value will be calculated as difference between model 2 and model 4 OFV values and dofv value of the full omega block.

Usage

get_all_covariates(
  frem_directory,
  nr_cov,
  nr_param,
  dofv_full_block,
  skip = NULL,
  quiet = F
)

Arguments

frem_directory

Frem run directory. Will search for the file raw_results.csv in the subdirectories model2_modelfit_dir1 and model4_modelfit_dir1.

nr_cov

Number of covariates.

nr_param

Numbner of parameters.

dofv_full_block

The dOFV value of the full omega block.

skip

A character vector with names of the skipped parts in the qa run. Will check if "frem" is one of the vector elements. By default skip=NULL.

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 elements: frem_table - a data frame with joint improvement in OFV when taking correlations into account frem_files_exists - logical argument indicating whether needed files exist in the input directory and there is at least one covariate


UUPharmacometrics/PsNR documentation built on June 30, 2023, 8:34 a.m.