question like this:
I have data tag and phi, when tag are the same, then phi are the same. like
below, tag have value 1 2 3 4 and phi have value .9 .3 1 0.
my question is, how can I get the result like
tag=c(1,2,3,4) and corresponding phi=c(.9,.3,1,0)
tag phi
2.3
1.9
2.3
Try this:
unique(cbind(tag, phi))[order(unique(tag)),]
On Wed, Jan 27, 2010 at 4:13 PM, song song rprojecth...@gmail.com wrote:
question like this:
I have data tag and phi, when tag are the same, then phi are the same. like
below, tag have value 1 2 3 4 and phi have value .9 .3 1 0.
my
question like this:
I have data tag and phi, when tag are the same, then phi are the same. like
below, tag have value 1 2 3 4 and phi have value .9 .3 1 0.
my question is, how can I get the result like
tag=c(1,2,3,4) and corresponding phi=c(.9,.3,1,0)
tag phi
2.3
1.9
2.3
31
2
question like this:
I have data tag and phi, when tag are the same, then phi are the same. like
below, tag have value 1 2 3 4 and phi have value .9 .3 1 0.
my question is, how can I get the result like
tag=c(1,2,3,4) and corresponding phi=c(.9,.3,1,0)
tag phi
2.3
1.9
2.3
4 matches
Mail list logo