Skip to content
Prev 309289 / 398506 Next

Help with toupper()

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...
Plot Transect SppCode Count
1 M072        2    abco     9
2 M072        1    abco     7
3 M072        1    psme     1
4 M072        3    abco     9
And I get...
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.