Description Usage Arguments Details Value Author(s) References Examples
View source: R/BootDistCanonicalAnalysis.R
Canonical Analysis based on distances. Confidence Regions for the mean vectors are calculated using bootstrap.
1 2 | BootDistCanonicalAnalysis(Distance, groups, dimens = NULL, nB = 100, seed = NULL,
PCoA = "Standard", ProcrustesRot = TRUE, DatosIni = TRUE, tol = 1e-04)
|
Distance |
A list of three elements containing the data, the distances between individuals and type of distance used. |
groups |
A factor containing the groups to compare. |
dimens |
Number of dimensions to choose . By default is 2. |
nB |
Number of Bootstrap samples. |
seed |
Seed for the generation of the random samples (Added for reproducibility) |
PCoA |
The type of Principal Coordinates Analysis. There are two possibilities: * Standard * Weighted By default is Standard. |
ProcrustesRot |
Should Procrustes rotation be applied to the configurations? |
DatosIni |
The input object contains the initial data?. By default is TRUE. |
tol |
Tolerance |
Calculates a Canonical Analysis based on distance matrices with confidence regions based on bootstrap resampling.
D |
The distance matrix used for calculations |
Coefficient |
Dissimilarity coefficient used to calculate the proximities |
nB |
Number of bootstrap samples |
Groups |
Factor containing the groups to compare |
GroupNames |
Names of the groups |
Inertia |
Variance accounted for ech canonical coordinate |
Inertias |
able with the eigenvalue, variance accounted and cumulated variance |
MeanCoordinates |
Coordinates of the groups in the representation |
Qualities |
Qualities of the representation of the group means |
CumulativeQualities |
Cumulative Qualities of the representation |
CoordBoot |
Coordinates of the bootstrap replicates |
RowCoordinates |
Coordinates of the individuals |
Laura Vicente-Gonzalez, Jose Luis Vicente-Villardon
Gower, J. C. and Krzanowski, W. J. (1999). Analysis of distance for structured multivariate data and extensions to multivariate analysis of variance. Journal of the Royal Statistical Society: Series C (Applied Statistics), 48(4):505–519.
1 2 3 4 | data(wine)
X=wine[,4:21]
Dist=DistContinuous(X)
canon=BootDistCanonicalAnalysis(Dist, groups=wine$Group, nB=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.