get_boxcox_lambda_table: A dataframe of the estimated shape parameters (Lambda) as...

View source: R/qa_get_boxcox_lambda_table.R

get_boxcox_lambda_tableR Documentation

A dataframe of the estimated shape parameters (Lambda) as well as expected improvement in OFV when estimating a Box-Cox transformation for each subject-level random effect.

Description

A dataframe of the estimated shape parameters (Lambda) as well as expected improvement in OFV when estimating a Box-Cox transformation for each subject-level random effect.

Usage

get_boxcox_lambda_table(directory, dofv_boxcox)

Arguments

directory

A path of the qa run directory. Will search for the boxcox.ext file in the modelfit_run folder and derivatives.ext file in the linearize_run/scm_dir1 folder.

dofv_boxcox

A dofv value of the boxcox model.

Value

A list of two elements: boxcox_lambdas_orig - A data frame with lambda and sd values from the boxcox and derivatives models. boxcox_lambdas_table - A data frame with rounded lambda and sd values from the boxcox and derivatives models values, and added boxcox dofv value.


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