[R] change uppercase variables

R. Michael Weylandt michael.weylandt at gmail.com
Fri Oct 14 18:16:49 CEST 2011


What sort of variables are these? generally toupper() or tolower()
would do the trick, but it can be little trickier if things are stored
as factors.

Michael

On Fri, Oct 14, 2011 at 12:12 PM, Jose Bustos Melo <jbustosmelo at yahoo.es> wrote:
>
>
>  Hello everyone,
>
> I'm trying to change the name variables of a big dataset. Here's more than 300 variables. The point is that I have to match it with another dataset that have same variables, but in lowercase, the I can use rbind and do my work.
>
> Is there any function for changing uppercase or lowercase variables?
> Thank you in advance!
> José
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> 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.
>
>



More information about the R-help mailing list