backwardSearch | R Documentation |
Backward covariate search
backwardSearch( covInfo, fitorig, fitupdated, pVal = 0.01, reFitCovars = FALSE, outputDir, restart = FALSE )
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 |
returns the updated 'fit' object at the end of the backward search and a table of information for all the covariates tested
Vipul Mann, Matthew Fidler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.