-2

Use of order Apartment Canada Toronto
38 37 2042 37 Appartment Building Apt 54 357

can you help for making capital letters for the charcaters in my array?

james
  • 11
  • 1
  • 8

1 Answers1

0

Try this:

names(ordered_use) <-toupper(names(ordered_use))

> ordered_use
         APARTMENT       APARTMENT BLDG  APARTMENT BUILDING      APARTMENT UNIT APPARTMENT BUILDING 
                 38                  37                2042                  37                  54 
                APT 
                357
Pierre Lapointe
  • 16,017
  • 2
  • 43
  • 56