forwardSearch {nlmixr2extra} | R Documentation |
Forward covariate search
Description
Forward covariate search
Usage
forwardSearch(
varsVec,
covarsVec,
catvarsVec = NULL,
fit,
pVal = 0.05,
outputDir,
restart = FALSE
)
Arguments
varsVec |
character vector of variables that need to be added |
covarsVec |
character vector of covariates that need to be added |
catvarsVec |
character vector of categorical covariates that need to be added |
fit |
an nlmixr2 'fit' object |
pVal |
p-value that should be used for selecting covariates in the forward search |
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 forward search and a table of information for all the covariates tested
Author(s)
Vipul Mann, Matthew Fidler, Vishal Sarsani
[Package nlmixr2extra version 2.0.10 Index]