Learn R Programming

daewr (version 1.1-4)

LGB: This function uses the LGB Method to detect significant effects in unreplicated fractional factorials.

Description

This function uses the LGB Method to detect significant effects in unreplicated fractional factorials.

Usage

LGB(Beta, alpha = 0.05, rpt = TRUE, plt = TRUE, pltl = TRUE)

Arguments

Beta
input - this is the numeric vector of effects or coefficients to be tested
alpha
input - This is the significance level of the test
rpt
input - this is a logical variable that controls whether the report is written (default is TRUE)
plt
input - this is a logical variable that controls whether a half-normal plot is made (default is TRUE)
pltl
input - this is a logical variable that controls whether the significance limit line is drawn on the half-normal plot (default is TRUE)

References

Lawson, J., Grimshaw, S., Burt, J. (1998) "A quantitative method for identifying active contrasts in unreplicated factorial experiments based on the half-normal plot", Computational Statistics and Data Analysis, 26, 425-436.

Examples

Run this code
data(chem)
modf<-lm(y~A*B*C*D,data=chem)
LGB(coef(modf)[-1],rpt=FALSE)


## The function is currently defined as
LGB <- function(Beta, alpha=.05,rpt=TRUE, plt=TRUE, pltl=TRUE) {
sigLGB<-LGBc(Beta,alpha,rpt,plt,pltl)
}

Run the code above in your browser using DataLab