ssriemdist | R Documentation |
Calculates the Riemannian size-and-shape distance d_S between two configurations
ssriemdist(x, y, reflect=FALSE)
x |
k x m matrix (or complex k-vector for 2D data) where k = number of landmarks and m = no of dimensions |
y |
k x m matrix (or complex k-vector for 2D data) |
reflect |
Logical. If reflect = TRUE then reflection invariance is included. |
The Riemannian size-and-shape distance d_S between the two configurations. (for the Riemannian shape distance use riemdist)
Ian Dryden
Le, H.-L. (1995). Mean size-and-shapes and mean shapes: a geometric point of view. Advances in Applied Probability, 27:44-55.
procOPA,procGPA,riemdist
data(gorf.dat) data(gorm.dat) gorf<-procGPA(gorf.dat,scale=FALSE) gorm<-procGPA(gorm.dat,scale=FALSE) ds<-ssriemdist(gorf$mshape,gorm$mshape) cat("Riemannian size-and-shape distance between mean size-and-shapes is ",ds," \n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.