Learn R Programming

PCPS (version 1.0.7)

wcmdscale.org: Internal function for organize the results of wcmdscale function

Description

Internal function for organize the results of wcmdscale function. The function computes dissimilarity indices using the function vegdist and perform Principal Coordinates Analysis (PCoA) using the function wcmdscale. If data is of class dist, the funcion do not computes the dissimilarity indices.

Usage

wcmdscale.org(data, method, squareroot, eig, correlations, ...)

Arguments

data

Data matrix or dissimilarities of class dist.

method

Method for dissimilarity index, as accepted by vegdist.

squareroot

Logical argument (TRUE or FALSE) to specify if use square root of dissimilarity index.

eig

Logical argument (TRUE or FALSE) to indicates if eigenvalues are returned.

correlations

Logical argument (TRUE or FALSE) to indicates if correlations between axis and original data are returned.

...

Other arguments passed to wcmdscale function.

Value

values

The eigenvalues, relative eigenvalues and cumulative relative eigenvalues.

vectors

The principal coordinates.

correlations

Correlations between axis and original data.

See Also

vegdist, wcmdscale