----- Forwarded message from Stas Malavin <stas.mala...@gmail.com> -----

     Date: Wed, 2 Apr 2014 01:01:40 -0400
      From: Stas Malavin <stas.mala...@gmail.com>
      Reply-To: Stas Malavin <stas.mala...@gmail.com>
      Subject: Re: Identify groups in R
      To: morphmet@morphometrics.org

Dear Raquel Mendes,

If I got you properly you need a separate varible of the same length as a list 
you got by reading a tps file into R. This variable would code a group for your 
specimens. You could simply type it by yourself, like code <- c(1,2,1,2,3), 
assuming that 1,2,3 are the groups. But if a list is long, one may generate it 
from IDs. 

HTH

Stas

On Tue, Apr 01, 2014 at 12:26:32PM -0700, morphmet_modera...@morphometrics.org 
wrote:
> 
> ----- Forwarded message from morphmet_modera...@morphometrics.org -----
> 
>      Date: Tue, 01 Apr 2014 00:50:39 -0700
>       From: morphmet_modera...@morphometrics.org
>       Reply-To: morphmet_modera...@morphometrics.org
>       Subject: Identify groups in R
>       To: morphmet@morphometrics.org
> 
> ----- Forwarded message from Raquel Mendes  -----
> 
>      Date: Tue, 18 Mar 2014 12:55:27 -0400
>       From: Raquel Mendes
> Reply-To: Raquel Mendes
>       Subject: Identify groups in R
>       To: morphmet@morphometrics.org
> 
> Dear all,
> 
> I´m trying to read and analyze my landmark data with R. I have upload a tps 
> file from tpsdig2, with 26 landmarks/specimen; ID and scale factor and 
> preformed a procrustes superimposition. 
> 
> My problem is in analysing groups in subsequent analysis, since group 
> information is included within the ID for each specimen. How do I tell R 
> which specimen belongs to each group? Should I be using other types of 
> dataset? I´m fairly new at R and any help would be most appreciated. 
> 
> Thank you in advance. 
> 
> Best,
> 
> Raquel Mendes
> 
> ----- End forwarded message -----
> 
> ----- End forwarded message -----
> 

----- End forwarded message -----


Reply via email to