How do you re-arrange vector order in R?

Posted by Milktrader on Stack Overflow See other posts from Stack Overflow or by Milktrader
Published on 2010-04-08T01:49:26Z Indexed on 2010/04/08 1:53 UTC
Read the original article Hit count: 207

Filed under:

I have three vectors in an xts R object. Call them V1, V2, V3. After merging, the order of them left to right is V2, V3, V1. How do I re-arrange them so they read (from left to right) as V1, V2, V3?

© Stack Overflow or respective owner

Related posts about r