Learn R Programming

forsearch (version 6.4.0)

identifyFixedCoeffs: Index To Identify Fixed Coefficients To Appear Together on Plot

Description

Runs the defined linear (lm) model. Displays the resulting coefficients. Attaches codes for identifying them to the plotting functions of this package.

Usage

identifyFixedCoeffs(formula, data, verbose = TRUE)

Value

Index of coefficients from forsearch_lm.

Arguments

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

Author

William R. Fairweather

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.

References

Atkinson, A and M Riani. Robust Diagnostic Regression Analysis, Springer, New York, 2000.

Examples

Run this code
info3 <- system.file("extdata", "crossdata.R", package="forsearch");
crossdata <- source(info3);
crossdata <- crossdata[[1]];
identifyFixedCoeffs(formula=y~x1*x2, data=crossdata)

Run the code above in your browser using DataLab