mirror_string.Rd
Makes a mirror of strings of the form a_b
mirror_string(string)
a string of the form a_b which needs to be mirrored in the for b_a. both a_b and b_a form a complete mirroed vector in the end.
a mirrored string
mirror_string(c("2_1","1_3","10_2","100_4"))
#> [1] "2_1" "1_3" "10_2" "100_4" "1_2" "3_1" "2_10" "4_100"