I currently have a data frame with a Fund ID and NAV value.  Is it possible
to order the data frame and move to separate columns in a new data frame or
matrix in R without using a for loop?  I suppose I'd like to use a built in
function to make it faster because I will have around 60,000 entries to sort
and my current program takes too long to do this.  I know how to use order,
but is there a way to separate the result and place into new vectors of a
matrix or data frame?

Thanks

Conrad

Here are my vectors which I import from a csv file:

 ID UNAV  #1694 999.89  #1696 999.9  #1694 999.87  #1696 999.88  #1694
999.84  #1696 999.86  #1694 999.82  #1696 999.84  #1694 999.79  #1696 999.82
#1694 999.71  #1696 999.75  #1694 999.69  #1696 999.73  #1694 999.66  #1696
999.71  #1694 999.64  #1696 999.69  #1694 999.61  #1696 999.67  #1694 999.54
#1696 999.7  #1694 999.51  #1696 1002.24  #1694 999.48  #1696 1012.14  #1694
999.46  #1696 1003.38  #1694 999.43

	[[alternative HTML version deleted]]


