Hola, si tu vector es
>x<-c(5,3,4,1)
>sort(x)
>[1] 1 3 4 5
es la misma solucion que la señorita de arriba te ha brindado.
Foro de debate
como hacer para ordenar vectores
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 5 posting(s) in 1 day