backwardSearch: Backward covariate search

backwardSearchR Documentation

Backward covariate search

Description

Backward covariate search

Usage

backwardSearch(
  covInfo,
  fitorig,
  fitupdated,
  pVal = 0.01,
  reFitCovars = FALSE,
  outputDir,
  restart = FALSE
)

Arguments

covInfo

a list containing information about each variable-covariate pair

fitorig

the original 'fit' object before forward search

fitupdated

the updatef 'fit' object, if any, after the forward search

pVal

p-value that should be used for selecting covariates in the forward search

reFitCovars

if the covariates should be added before performing backward search - useful for directly performing backward search without forward search; default is FALSE

outputDir

the name of the output directory that stores the covariate search result

restart

a boolean that controls if the search should be restarted; default is FALSE

Value

returns the updated 'fit' object at the end of the backward search and a table of information for all the covariates tested

Author(s)

Vipul Mann, Matthew Fidler


nlmixr documentation built on March 27, 2022, 5:05 p.m.