Displaying 3 results from an estimated 3 matches for "pxmid".
Did you mean:
xmid
2009 Jul 28
1
Sort a column in a dataframe
Dear Users
This is my dataset called mydata4. I want to sort the dataframe on the first
column PxMid which is basically a column with dates.
I've tried mydata4<-mydata4[order(mydata4$PxMid),] but it doesnt work. Could
it be because these are dates?
Please help I'm really stuck !!
Thank you for your time.
Regards
Meenu
PxMid EU0006MIndex.x DMSW1Curncy.x DMSW2Curncy.x DMSW3Curncy.x
1...
2009 Jul 28
1
Sort a dataframe on the column Date
Dear Users
I have a dataframe called mydata4 of the following order with the first
column as a date and the rest of the columns are numeric with rate.
Column 1 Rate1 : Rate 20
(PxMid)
01/01/2003
07/01/2001
----
----
--
I wish to sort this dataframe on the first col in ascending order.
I tried to do the following
mydata4<-mydata4[,order(mydata4$PxMid)]
This give an error.
Please help.
Regards
Meenu
[[alternative HTML version deleted]]
2009 Jul 31
1
Fill dataframe from a table according to a criteria
...Pb2 Pb3 Pb4
C Pc1 Pc2 Pc3 Pc4
D Pd1 Pd2 Pd3 Pd4
and I have a dataframe called mydata which is given below where I want to
fill in the last four columns of probabilities taken from States.Prob
according to the change and state in mydata4:-
PxMid EU0006MIndex.x DMSW1Curncy.x DMSW2Curncy.x DMSW3Curncy.x
1 01/01/2003 2.80113 2.7070 2.8920 3.1720
2 01/01/2007 3.85350 4.0760 4.1250 4.1230
3 01/02/2002 3.41563 3.6385 4.0810 4.3587
4 01/02/2006 2.70000...