| To: | "s-news" <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | select vector names |
| From: | "Heymans, MW" <mw.heymans@vumc.nl> |
| Date: | Thu, 11 May 2006 02:04:59 +0200 |
| Thread-index: | AcZ0josLCJSjMODIScKq/tg6Z1B/Sg== |
| Thread-topic: | select vector names |
|
Dear
all,
I have this vector of
names:
[1] "FA"
"WLV=2" "WLV=3" "WLV=4" "TS" "BAE"
"BH" "WKZ" "RDQB" "gr=1" "gr=2"
"gr=3" "gr=4" "gr=5" "gr=6"
[16] "gr=7" and I want to change it to (same order, but without the factor extensions): [1] "FA" "WLV"
"TS" "BAE" "BH"
"WKZ" "RDQB" "gr"
help is appreciated (I got stuck in the regexpr functions). regards, Martijn
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Replicating the rows of a table n times each, Christos Hatzis |
|---|---|
| Next by Date: | Replicating the rows of a table n times each, Tzamouranis, Ioannis C |
| Previous by Thread: | Replicating the rows of a table n times each, Tzamouranis, Ioannis C |
| Next by Thread: | Re: select vector names, David L Lorenz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |