----- Forwarded message from morphmet_modera...@morphometrics.org -----

     Date: Sun, 13 Apr 2014 22:24:23 -0700
      From: morphmet_modera...@morphometrics.org
      Reply-To: morphmet_modera...@morphometrics.org
      Subject: Re: Identify groups in R
      To: morphmet@morphometrics.org

----- Forwarded message from Allowen EVIN  -----

     Date: Wed, 2 Apr 2014 03:48:41 -0400
      From: Allowen EVIN 
      Reply-To: Allowen EVIN 
      Subject: Re: Identify groups in R
      To: morphmet@morphometrics.org

Dear Raquel, 
If you have a factor with your ID you can try the function substr(substring) as 
follow:
substr(yourID, first letter you want to selectio, last letter you want to 
select)
yourID should correspond to 'characters'. 

For example, if yourID looks like: "MNHN-1956" and you want to pick up only the 
numbers you can do:
yourID

Reply via email to