Computes a semi-metric based on the first ncomp principal component scores.
Usage
semimetric.pca(fdataobj, fdataref = NULL, ncomp = 2, ...)
Arguments
- fdataobj
An object of class 'fdata'.
- fdataref
An object of class 'fdata'. If NULL, uses fdataobj.
- ncomp
Number of principal components to use.
- ...
Additional arguments (ignored).
Value
A distance matrix based on PC scores.