Description Usage Arguments Value
Convert mtable data.table
to matrix
1 2 3 4 | asMatrixMDT(x, fill = NA, fun.aggregate = NULL, ...)
## S4 method for signature 'MDT'
asMatrixMDT(x, fill = NA, fun.aggregate = NULL, ...)
|
x |
|
fill |
Value to fill missing cells with. If |
fun.aggregate |
Should the data be aggregated before casting? If the formula doesn't identify single observation for each cell, then aggregation defaults to NEW: it is possible to provide a list of functions to |
... |
Any other arguments that maybe passed to the aggregating function. |
Mutation matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.