shapepca               package:shapes               R Documentation

_P_r_i_n_c_i_p_a_l _c_o_m_p_o_n_e_n_t_s _f_o_r _s_h_a_p_e

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

     Provides graphical summaries of principal components for shape.

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

     shapepca(proc, pcno = c(1, 2, 3), type = "r", mag = 1, joinline = c(1, 1))

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

    proc: List given by the output from 'procGPA()' 

    pcno: A vector of the PCs to be plotted

    type: Options for the types of plot for the $m=2$ planar case:  "r"
          : rows along PCs evaluated at c = -3,0,3 sd's along PC, "v" :
          vectors drawn from mean to +3 sd's along PC, "s" : plots
          along c= -3, -2, -1, 0, 1, 2, 3 superimposed, "m" : movie
          backward and forwards from -3 to +3 sd's along PC, "g" : TPS
          grid from mean to +3 sd's along PC. 

     mag: Magnification of the effect of the PC (scalar multiple of
          sd's)

joinline: A vector stating which landmarks are joined up by lines, 
          e.g. joinline=c(1:n,1) will start at landmark 1, join to 2,
          ..., join to n, then  re-join to landmark 1.

_D_e_t_a_i_l_s:

     For $m=3$ the mean and PCs are plotted with orthogonal
     projections.  The display is in the type="m" format only at the
     moment.

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

     No value is returned

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

     Ian Dryden

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

     Dryden, I.L. and Mardia, K.V. (1998) Statistical Shape  Analysis.
     Wiley, Chichester.

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

     procGPA

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

     #2d example
     data(gorf.dat)
     data(gorm.dat)

     gorf<-procGPA(gorf.dat)
     gorm<-procGPA(gorm.dat)
     shapepca(gorf,type="r",mag=3)
     shapepca(gorf,type="v",mag=3)
     shapepca(gorm,type="r",mag=3)
     shapepca(gorm,type="v",mag=3)

     #3D example
     #data(macm.dat)
     #out<-procGPA(macm.dat)
     #movie
     #shapepca(out,pcno=1)

