Skip to content
Prev 280670 / 398502 Next

aggregate function

You were using the wrong syntax; it should be:

 x[
     , list(case1 = paste(case1, collapse = ','))
     , by = param
   ]

Notice that you do not use the "x$" on the names within the data.table
statement.
On Wed, Dec 21, 2011 at 12:22 PM, Mary Kindall <mary.kindall at gmail.com> wrote: