Information Technology Reference
In-Depth Information
n
-vector specifying the groups.
group.vec
Implemented only for
dim.biplot = 2
.
dim.biplot
K
-vector specifying the colour of each group's plotting character.
pch.means.col
K
-vector specifying the colour of plotting character of the
samples in each of the
K
groups.
pch.samples.col
Position of the group labels.
pos.labs
Either
"unweighted"
(the default) or
"weighted"
, requesting
an unweighted or weighted AoD.
weight
Value
An AoD plot as discussed in Section 5.8 is constructed and a list with the following
components is returned:
The total sum of squares, T.
T.ss
The between sum of squares, B.
B.ss
The within sum of squares, W.
W.ss
The
K
-vector containing the group sizes.
nvec
The
n
×
n ddistance
matrix
D
.
Dmat
The matrix
D
defined in (5.21).
Dbar
The
K
×
K
matrix with elements defined by (5.22).
Deltabar
5.9.2 Function
PermutationAnova
This function performs the permutation testing procedure described in Section 5.8.
It shares the following three arguments with
AODplot
:
X
,
group.vec
and
dist
.Ithas
a fourth argument
n.perm
for specifying the number of permutations required.
Value
A list with the following three components
A vector with first element the total sum of squares T and second
element the between sum of squares B obtained in the initial
AoD.
TandB.ss.null
Matrix with
n.perm
rows and two columns containing the total
sum of squares T and the between sum of squares B obtained
for each random permutation cycle of the AoD.
out.perm.TandB
The achieved significance level, i.e. the proportion of times a
random permutation cycle resulted in a value of B larger than
the B obtained in the initial AoD.
asl