----- Forwarded message from [email protected] -----
Date: Sun, 13 Apr 2014 22:24:23 -0700
From: [email protected]
Reply-To: [email protected]
Subject: Re: Identify groups in R
To: [email protected]
----- 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: [email protected]
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