ordcomp {labdsv} | R Documentation |
Plots the distribution of pair-wise distances of all points in an ordination to the distances in the dissimilarity or distance matrix the ordination was calculated from. Prints the corrleation betweeen the two on the graph.
ordcomp(x,y,dim=2,xlab="Computed Distance",ylab="Ordination Distance", title="",pch=1)
x |
an object of class dist |
y |
an ordination object from pca , pco ,
nmds , ca , fso |
dim |
the number of dimensions in the ordination to use (default=2) |
xlab |
the X axis label for the graph |
ylab |
the Y axislabel for the graph |
title |
a title for the plot |
pch |
the symbol to plot |
a plot is created on the currnt graphics device
Ordinations are low dimensional representations of multidimensional spaces. This function attempts to portray how well the low dimensional solution approximates the full dimesional space.
David W. Roberts droberts@montana.edu http://ecology.msu.montana.edu/labdsv
http://ecology.montana.msu.edu/labdsv/
data(bryceveg) # produces a vegetation dataframe dis.bc <- dsvdis(bryceveg,'bray/curtis') # creates a Bray/Curtis dissimilarity matrix pco.bc <- pco(dis.bc,2) # produces a two-dimensional Principal Coordinates Ordination object ordcomp(pco.bc,dis.bc)