riemdist               package:shapes               R Documentation

_R_i_e_m_a_n_n_i_a_n _s_h_a_p_e _d_i_s_t_a_n_c_e

_D_e_s_c_r_i_p_t_i_o_n:

     Calculates the Riemannian shape distance $\rho$ between two
     configurations

_U_s_a_g_e:

     riemdist(x, y)

_A_r_g_u_m_e_n_t_s:

       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)

_V_a_l_u_e:

     The Riemannian shape distance rho between the two configurations. 
     Note 0 <= rho <= pi/2

_A_u_t_h_o_r(_s):

     Ian Dryden

_R_e_f_e_r_e_n_c_e_s:

     Kendall, D. G. (1984).  Shape manifolds,  Procrustean metrics and
     complex projective spaces,  Bulletin of the  London Mathematical
     Society,  16, 81-121.

_S_e_e _A_l_s_o:

     procOPA,procGPA

_E_x_a_m_p_l_e_s:

     data(gorf.dat)
     data(gorm.dat)
     gorf<-procGPA(gorf.dat)
     gorm<-procGPA(gorm.dat)
     rho<-riemdist(gorf$mshape,gorm$mshape)
     cat("Riemannian distance between mean shapes is ",rho," \n")

