Re: [R] data.frame and ddply

2010-04-16 Thread David Winsemius
On Apr 16, 2010, at 9:28 AM, arnaud Gaboury wrote: Dear group, Here is my df : futures <- structure(list(CONTRAT = c("WHEAT May/10 ", "WHEAT May/10 ", "WHEAT May/10 ", "WHEAT May/10 ", "COTTON NO.2 May/10 ", "COTTON NO. 2 May/10 ", "COTTON NO.2 May/10 ", "PLATINUM Jul/10 ", " SUGAR NO.11 M

Re: [R] data.frame and ddply

2010-04-16 Thread arnaud Gaboury
oo.com] > Sent: Friday, April 16, 2010 4:02 PM > To: arnaud Gaboury; r-help@r-project.org > Subject: Re: [R] data.frame and ddply > > You can do something like this after the output from opfut > opfut <- data.frame(opfut$CONTRAT,opfut$POSITION,opfut$SETTLEMENT) > name

Re: [R] data.frame and ddply

2010-04-16 Thread Felipe Carrillo
Interior US Fish & Wildlife Service California, USA - Original Message > From: arnaud Gaboury > To: r-help@r-project.org > Sent: Fri, April 16, 2010 6:28:37 AM > Subject: [R] data.frame and ddply > > Dear group, Here is my df : futures > <- structure(list

[R] data.frame and ddply

2010-04-16 Thread arnaud Gaboury
Dear group, Here is my df : futures <- structure(list(CONTRAT = c("WHEAT May/10 ", "WHEAT May/10 ", "WHEAT May/10 ", "WHEAT May/10 ", "COTTON NO.2 May/10 ", "COTTON NO.2 May/10 ", "COTTON NO.2 May/10 ", "PLATINUM Jul/10 ", " SUGAR NO.11 May/10 ", " SUGAR NO.11 May/10 ", " SUGAR NO.11 May/10 "

[R] data.frame and ddply

2010-04-15 Thread arnaud Gaboury
Dear group, I have this following data.frame: > c DESCRIPTION CREATED.DATE QUANITY CLOSING.PRICE 26 PRM HGH GD ALU 2010-04-09 -12,415.9000 27 PRM HGH GD ALU 2010-04-09 12,415.9000 28 PRIMARY NICKEL 2010-03-04 1 25,755.7100 29 PRIMARY NICKEL 2010-03-05