MomX / Momocs

:dove: Morphometrics using R
http://momx.github.io/Momocs/
51 stars 18 forks source link

Text file of an outline #161

Closed raz1 closed 7 years ago

raz1 commented 7 years ago

Hi,

I have a coordinate text file which I wish to examine as a closed outline: 436 231 436 232 718 432 719 431 478 88 477 88 437 71 436 70 435 69 434 69 433 69 430 69

As I wish to handle it as a closed shape shell I add to the end of this file the first coordinates (436 231) or when I run the Multivariate analysis Momocs automatically close the outline?

vbonhomme commented 7 years ago

hi there,

you can import it with read.table and once you get it, you need to build a Coo/Out from it. eg read.table() %>% list() %>% Out()

you can use coo_close to close the outline.

hope this helps,

v

2016-08-08 17:45 GMT+02:00 raz1 notifications@github.com:

Hi,

I have a coordinate text file which I wish to examine as a closed outline: 436 231 436 232 718 432 719 431 478 88 477 88 437 71 436 70 435 69 434 69 433 69 430 69

As I wish to handle it as a closed shape shell I add to the end of this file the first coordinates (436 231) or when I run the Multivariate analysis Momocs automatically close the outline?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vbonhomme/Momocs/issues/161, or mute the thread https://github.com/notifications/unsubscribe-auth/AEgoFtC4eQ48I81SuOZFCVUF-MhEjHoFks5qd082gaJpZM4JfLlV .

vincentbonhomme.fr http://www.vincentbonhomme.fr