Try this:
xtabs(count ~., data)
Also look at ?ftable, ?prop.table, ?reshape and the reshape package.
On Thu, Feb 28, 2008 at 8:22 PM, obradoa <[EMAIL PROTECTED]> wrote:
>
> I am having hard time tabulating data in a dataframe, and getting a single
> "table" for an answer. I am trying to tabulate
Is this what you want?
> tapply(x$count, list(x$delta_ts, x$status), sum)
ASSIGNED CLOSED NEW RESOLVED
2008-02-212 NA 20
2008-02-220 0 61
2008-02-232 1 120
2008-02-247 4 162
2008-02-252
I am having hard time tabulating data in a dataframe, and getting a single
"table" for an answer. I am trying to tabulate all "counts" for given
"status" on a given date.
I have a data frame such as:
delta_ts status count
1 2008-02-27 CLOSED 3
2 2008-02-27 NEW
3 matches
Mail list logo