toupper() method in R programming is used to convert the lowercase string to uppercase string.
Return: Returns the uppercase string.
 "GEEKS FOR GEEKS"
 "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG"
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.