View source: R/identifyFixedCoeffs.R
identifyFixedCoeffs | R Documentation |
Runs the defined linear (lm) model. Displays the resulting coefficients. Attaches codes for identifying them to the plotting functions of this package.
identifyFixedCoeffs(formula, data, verbose = TRUE)
formula |
2-sided formula for fixed effects |
data |
Name of file (to be) run by forsearch_lm |
verbose |
If TRUE, indicates beginning and end of function |
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.
Index of coefficients from forsearch_lm.
William R. Fairweather
Atkinson, A and M Riani. Robust Diagnostic Regression Analysis, Springer, New York, 2000.
info3 <- system.file("extdata", "crossdata.R", package="forsearch");
crossdata <- source(info3);
crossdata <- crossdata[[1]];
identifyFixedCoeffs(formula=y~x1*x2, data=crossdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.