| PCOA-class | R Documentation | 
An S4 class to store the results of a principal coordinates analysis.
pointsA numeric matrix whose rows give the coordinates of the points
chosen to represent the dissimilarities.
eigenvaluesA numeric vector giving the eigenvalues computed during
the scaling process.
methodA character string giving the distance that has been used to
create the distance structure.
GOFA length-two numeric vector.
groupsA character vector specifying the class for each
observation.
N. Frerebeau
Other class: 
BootstrapCA-class,
BootstrapPCA-class,
CA-class,
MCA-class,
MultivariateAnalysis,
MultivariateBootstrap,
MultivariateResults,
MultivariateSummary,
PCA-class
## Load data
data("iris")
## Compute euclidean distances
d <- dist(iris[, 1:4], method = "euclidean")
## Compute principal coordinates analysis
X <- pcoa(d)
## Screeplot
screeplot(X)
## Plot results
plot(X, extra_quali = iris$Species)
## Add convex hulls
plot(
  x = X,
  extra_quali = iris$Species,
  hull = TRUE
)
## Add tolerance ellipses
plot(
  x = X,
  extra_quali = iris$Species,
  ellipse = list(type = "tolerance", level = 0.95)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.