Why in toupper() concatenating my column when I use it? I am trying to change the case of a column in a dataframe to upper case...
> seedlings Plot Transect SppCode Count 1 M072 2 abco 9 2 M072 1 abco 7 3 M072 1 psme 1 4 M072 3 abco 9 > seedlings["SppCode"] = toupper(seedlings["SppCode"]) And I get... > seedlings Plot Transect SppCode Count 1 M072 2 C("ABCO", "ABCO", "PSME", "ABCO") 9 2 M072 1 C("ABCO", "ABCO", "PSME", "ABCO") 7 3 M072 1 C("ABCO", "ABCO", "PSME", "ABCO") 1 4 M072 3 C("ABCO", "ABCO", "PSME", "ABCO") 9 Not what I want. Suggestions? Thanks, MVS -- View this message in context: http://r.789695.n4.nabble.com/Help-with-toupper-tp4647781.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.