Dear R helpers

Suppose I have a vector as

vect1 = as.character(c("ABC", "XYZ", "LMN", "DEF"))

> vect1
[1] "ABC" "XYZ" "LMN" "DEF"

I want to reverse the order of this vector as

vect2 = c("DEF", "LMN", "XYZ", "ABC")

Kindly guide

Regards

Vincy






	[[alternative HTML version deleted]]

