identifyCoeffs {forsearch} | R Documentation |
Index To Identify Fixed and Random Coefficients To Appear Together on Plot
Description
Runs the defined, grouped linear mixed effects (lme) model. Displays the resulting fixed and random coefficients. Attaches codes for identifying them to the plotting functions of this package.
Usage
identifyCoeffs(fixed, data, random,
XmaxIter = 1000, XmsMaxIter = 1000,
Xtolerance = 0.01, XniterEM = 1000, XmsMaxEval = 400, XmsTol = 1e-05,
Xopt = "optim", verbose = TRUE)
Arguments
fixed |
2-sided formula for fixed effects |
data |
Name of file (to be) run by forsearch_lme |
random |
1-sided formula for random effects |
XmaxIter |
lme control parameter |
XmsMaxIter |
lme control parameter |
Xtolerance |
lme control parameter |
XniterEM |
lme control parameter |
XmsMaxEval |
lme control parameter |
XmsTol |
lme control parameter |
Xopt |
lme control parameter |
verbose |
If TRUE, indicates beginning and end of function |
Details
Plotting functions cannot plot more than a few coefficients on one graph. This function prepares an index of the coefficients so that the user can more easily identify which ones should appear together in a plot.
Value
Index of fixed and random coefficients from forsearch_lme.
Author(s)
William R. Fairweather
References
Atkinson, A and M Riani. Robust Diagnostic Regression Analysis, Springer, New York, 2000.
Examples
info3 <- system.file("extdata","Machines.O.R",package="forsearch");
info3 <- source(info3);
info3 <- info3[[1]];
identifyCoeffs(fixed=score~1, data=info3, random= ~1 | Worker)