Dear group,
Here is my data frame:
futures -
structure(list(DESCRIPTION = c(CORN Jul/10, CORN Jul/10,
CORN Jul/10, CORN Jul/10, CORN Jul/10, LIVE CATTLE Aug/10,
LIVE CATTLE Aug/10, SUGAR NO.11 Jul/10, SUGAR NO.11 Jul/10,
SUGAR NO.11 Jul/10, SUGAR NO.11 Jul/10, SUGAR NO.11 Jul/10
),
...@uni-bremen.de]
Sent: Tuesday, June 01, 2010 11:38 AM
To: arnaud Gaboury
Subject: Re: [R] data frame manipulation ddply
Hi Arnaud,
maybe aggregate can help:
PosFut - aggregate(futures$QUANTITY, list(DESCRIPTION =
futures$DESCRIPTION,
SETTLEMENT
2 matches
Mail list logo