x<-matrix(rnorm(18),nrow=3) # Random triangles (all coordinates on same row for each triangle)
arrayspecs(x,3,2)
x2<-matrix(rnorm(18),ncol=2) # Random triangles (each landmark on its own row)
arrayspecs(x2,3,2)
Run the code above in your browser using DataLab