Skip to content
Prev 5820 / 398506 Next

order() results

Hi,
Let?s consider aux1. I wanted to order its data considering its first column as the index
V1   V2    V3     V4      V5 V6
1 0.08506724 150 1956 15.08 233.82 463.295 14
2 0.76205323 203 1922 15.35 218.74 463.295 14
3 0.86274890 195 1835 12.54 203.39 463.295 14
4 0.37940715 152 1567 24.73 190.85 463.295 14
V1    V2     V3      V4       V5  V6
1 -0.08506724 -150 -1956 -15.08 -233.82 -463.295 -14
4 -0.37940715 -152 -1567 -24.73 -190.85 -463.295 -14
2 -0.76205323 -203 -1922 -15.35 -218.74 -463.295 -14
3 -0.86274890 -195 -1835 -12.54 -203.39 -463.295 -14

Why did the result came with a minus sign?

Is it a bug?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000524/ade24d21/attachment.html