Function for determine the number of significant dimensions in principal coordinate analysis (PCoA).
pcoa.sig(
data,
method = "gower",
squareroot = FALSE,
axis = 6,
n.start = NULL,
by = 1,
iterations = 1000,
parallel = NULL
)# S3 method for pcoasig
print(x, ...)
# S3 method for summarypcoasig
print(x, ...)
# S3 method for pcoasig
summary(object, choices = c(1, 2), ...)
Community data matrix.
Method for dissimilarity index, as accepted by vegdist
(Default method = "gower").
Logical argument (TRUE or FALSE) to specify if use square root of dissimilarity index (Default squareroot = FALSE).
Maximum number of ordination principal axes to be monitored (Default axis = 6).
Initial sample size. If n.start = NULL initial sample size is equal to total sample size (Default n.start = NULL).
Sampling unit is added at each sampling step (Default by = 1).
Number of permutations to assess significance (Default iterations = 1000).
Number of parallel processes or a predefined socket cluster done with parallel package. Tip: use detectCores() (Default parallel = NULL).
An object of class pcoasig.
Other parameters for the respective functions.
An object of class pcoasig.
Axes for re-scaling. Choices must have length equal to two (Default choices = c(1, 2)).
The eigenvalues, relative eigenvalues and cumulative relative eigenvalues..
The principal coordinates.
Correlations between axis and original data.
Mean correlations, for axis, between null and reference scores.
Mean correlations, for axis, between bootstrap and reference scores.
Number of iterations for each axis in bootstrap step.
Number of iterations for each axis in null step.
Probabilities for each axis.
At each iteration step a bootstrap sample is subjected to PCoA ordination, the scores are submitted to a procrustean adjustment, and the correlation between observed and bootstrap ordination scores is computed. It compares such correlations to the same parameter generated in a parallel bootstrapped ordination of randomly permuted data. The number of axes in bootstrap or null PCoA with eigenvectors corresponding to positive eigenvalues may be smaller than the number of axes monitored, in this case, axes with values equal to 0 are created. The number of iterations with original values for each axis is shown in n.permut.bootstrap and n.permut.null.
The function scores.pcoasig re-scales the correlation values for biplot
graphics.
Pillar, V.D. (1999). The bootstrapped ordination reexamined. Journal of Vegetation Science 10, 895-902.
# NOT RUN {
# }
# NOT RUN {
data(flona)
res<-pcoa.sig(flona$community, method = "bray", squareroot = TRUE, axis = 6, iterations = 100)
res
summary(res)$scores
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab