[R] (no subject)

2019-02-10 Thread Diego Miro
4 xxx ff [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and

Re: [R] sorting a dataframe

2015-06-21 Thread Diego Miro
Bogdan, Follow my suggestion. letter - substring(A, 1, 1) number - substring(A, 2, nchar(A)) new.data - paste0(letter, formatC(as.numeric(number), width = 2, flag = 0)) Em 20/06/2015 21:21, Bogdan Tanasa tan...@gmail.com escreveu: Dear all, I am looking for a suggestion please regarding