Analysis of Variance (ANOVA), Alternate Input
Function to prepare data stored in alternate forms from that expected by function anova1
for its use. For further details see x
in Arguments below.
anova2(x, xname = deparse(substitute(x)), log = FALSE, ifalt = FALSE)
x |
a column vector from a matrix or data frame, |
xname |
by default the character string for |
log |
if a logarithmic transformation (base 10) of the data is required to meet homogeneity of variance considerations (i.e. severe heteroscedasticity) set |
ifalt |
set |
For further details see anova1
.
If the data are as n duplicate pairs, x1
and x2
, use function anova1
.
Any less than detection limit values represented by negative values, or zeros or other numeric codes representing blanks in the data, must be removed prior to executing this function, see ltdl.fix.df
.
Robert G. Garrett
## Make test data available data(ms.data2) attach(ms.data2) ## Undertake an ANOVA for duplicate measurements on rock samples anova2(MS, log = TRUE, xname = "Duplicate measurements of Magnetic Susceptibility") ## Detach test data detach(ms.data2) ## Make test data available data(ms.data3) attach(ms.data3) ## Undertake an ANOVA for duplicate measurements on rock samples anova2(MS, log = TRUE, ifalt = TRUE, xname = "Duplicate measurements of Magnetic Susceptibility") ## Detach test data detach(ms.data3)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.