anova1(x1, x2, name = deparse(substitute(x1)), log = FALSE)
x1[1], ..., x1[n]
.x2[1], ..., x2[n]
. x1,x2
must be of identical length, n
, where x2
is a duplicate measurement of x1
.x1
is used as a default.log = TRUE
. This is also advisable if the range of the observations exceeds 1.5 orders of magnitude.x1[1], ..., x1[n]
followed by x[n+1], ..., x[2n]
, or alternated as x[1]
and x[2]
being a pair through to x[2*i+1]
and x[2*i+2]
, for the i in 1:n
duplicate pairs use function anova2
.anova2
, ltdl.fix.df
## Make test data ms.data1 available
data(ms.data1)
attach(ms.data1)
## Undertake an ANOVA for duplicate measurements on rock samples
anova1(MS.1, MS.2, log=TRUE,
name = "Duplicate measurements of Magnetic Susceptibility")
## Detach test data ms.data1
detach(ms.data1)
Run the code above in your browser using DataLab