| dcast2 | R Documentation | 
if value.var is a vector then will combine the right hand side column names with each element of value.var in a merged cast table
dcast2(
  data,
  formula,
  ...,
  value.var = NULL,
  fun.aggregate = function(x) if (length(x) <= 1) x[1] else paste(x, collapse = ","),
  sep = "_"
)
Marcin Imielinski
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.