acor
computes the additional standard correlation
explained by each canonical variable, taking into account
the possible non-conjugacy of the canonical vectors. The
result of the analysis is returned as a list of class
nscancor
.
acor(x, xcoef, y, ycoef, xcenter = TRUE, ycenter = TRUE, xscale = FALSE, yscale = FALSE)
x
as its columns.y
as its columns.x
should be
subtracted. Alternatively, a vector of length equal to
the number of columns of x
can be supplied. The
value is passed to scale
.xcenter
x
should be scaled to have unit
variance before the analysis takes place. The default is
FALSE
for consistency with cancor
.
Alternatively, a vector of length equal to the number of
columns of x
can be supplied. The value is passed
to scale
.xscale
acor
returns a list of class nscancor
containing the following elements: x
xp
acor
is also useful to build a partial CCA model, to
be completed with additional canonical variables computed
using nscancor
.