[R] How to make all elements all elements lower-cap ?

jim holtman jholtman at gmail.com
Mon Nov 16 02:48:19 CET 2009


try this:

> x <- c("a", "B", "c")
> ?tolower
> tolower(x)
[1] "a" "b" "c"
>


On Sun, Nov 15, 2009 at 8:45 PM, RON70 <ron_michael70 at yahoo.com> wrote:
>
> I have a vector of letters like c("a", "B", "c"). Is there any R function to
> force all elements to lower-cap ?
>
> Thanks,
> --
> View this message in context: http://old.nabble.com/How-to-make-all-elements-all-elements-lower-cap---tp26365794p26365794.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?




More information about the R-help mailing list