Re: [R] Correct behavior of Hmisc::capitalize()?

2011-07-15 Thread Uwe Ligges
On 14.07.2011 23:32, Henrik Bengtsson wrote: Hi, from example(capitalize) of the Hmisc package (v 0.8.3) you get: capitalize(c(Hello, bob, daN)) [1] Hello Bob daN Is that daN correct? If so, then this behavior that only *all lowercase strings*, which the code indicates, will be

[R] Correct behavior of Hmisc::capitalize()?

2011-07-14 Thread Henrik Bengtsson
Hi, from example(capitalize) of the Hmisc package (v 0.8.3) you get: capitalize(c(Hello, bob, daN)) [1] Hello Bob daN Is that daN correct? If so, then this behavior that only *all lowercase strings*, which the code indicates, will be capitalized is not documented. Hmisc::capitalize