Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*pattern\s*$/: 4 ]

Total 4 documents matching your query.

1. pattern (score: 1)
Author: "Pravin Jadhav" <pravinj@gmail.com>
Date: Tue, 16 May 2006 11:47:59 -0400
I have the following vector I am interested in knowing the number of letters in each character string. The output should be (2, 3, 3). I can do this when there is no "+" sign in between [1] 2 3 3 I
/archives/html/s-news/2006-05/msg00052.html (7,566 bytes)

2. Re: pattern (score: 1)
Author: "Chalvatzis, Dimitrios (Energy Wholesale)" <Dimitrios.Chalvatzis@eon-uk.com>
Date: Tue, 16 May 2006 16:58:56 +0100
You almost had it:<o:p></o:p> <o:p> </o:p> test1<-substituteString("\\+", "", test1,global=T)<o:p></o:p> attr(regexpr("[A-Z]+",test1), "match.length")<o:p></o:p> <o:p> </o:p> Dimitrios Chalvatzis Ris
/archives/html/s-news/2006-05/msg00053.html (14,058 bytes)

3. Re: pattern (score: 1)
Author: Dimitrios Rizopoulos <Dimitris.Rizopoulos@med.kuleuven.be>
Date: Tue, 16 May 2006 18:16:30 +0200
you can try something like: sapply(sapply(test1, unpaste, sep = "+"), length) I hope it helps. Best, Dimitris -- Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Cathol
/archives/html/s-news/2006-05/msg00054.html (8,797 bytes)

4. Re: pattern (score: 1)
Author: "Biggerstaff, Brad J. (CDC/NCID/VBI)" <bkb5@cdc.gov>
Date: Tue, 16 May 2006 11:19:53 -0600
Or use the built-in function nchar: [1] 2 3 3 Brad Brad Biggerstaff, Ph.D. (970) 221-6473 ... BBiggerstaff@cdc.gov From: s-news-owner@lists.biostat.wustl.edu [mailto:s-news-owner@lists.biostat.wustl.
/archives/html/s-news/2006-05/msg00055.html (9,292 bytes)


This search system is powered by Namazu