See examples on ?toupper page.
On Mon, Mar 23, 2009 at 8:03 AM, Daren Tan <darentan76 at gmail.com>
wrote:> I managed to find toupper() which translates all letters to uppercase.
> Is there a function to capitalize only the first letter of word or
> phrase ?
>
> Thanks
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>