Dear all, I would need a function which convert small letter into capital letter (at least the first letter of a character variable). Does such a function exist in R ? Thanks by advance Jessica
Try ?toupper -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of jessica.gervais at tudor.lu Sent: Tuesday, May 15, 2007 12:11 PM To: R-help at stat.math.ethz.ch Subject: [R] conversion into capital letter Dear all, I would need a function which convert small letter into capital letter (at least the first letter of a character variable). Does such a function exist in R ? Thanks by advance Jessica ______________________________________________ R-help at stat.math.ethz.ch 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.
help("toupper")
b
On May 15, 2007, at 2:41 AM, jessica.gervais at tudor.lu wrote:
>
> Dear all,
>
>
> I would need a function which convert small letter into capital  
> letter (at
> least the first letter of a character variable).
>
> Does such a function exist in R ?
>
> Thanks by advance
>
> Jessica
--
Benilton Carvalho
PhD Candidate
Department of Biostatistics
Bloomberg School of Public Health
Johns Hopkins University
bcarvalh at jhsph.edu
On Tue, 2007-05-15 at 08:41 +0200, jessica.gervais at tudor.lu wrote:> Dear all, > > > I would need a function which convert small letter into capital letter (at > least the first letter of a character variable). > > Does such a function exist in R ? > > Thanks by advance > > JessicaSee ?toupper and take note of the examples therein. HTH, Marc Schwartz
r-help-bounces at stat.math.ethz.ch napsal dne 15.05.2007 08:41:27:> > Dear all, > > > I would need a function which convert small letter into capital letter(at> least the first letter of a character variable). > > Does such a function exist in R ??toupper, ?tolower Regards Petr> > Thanks by advance > > Jessica > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.