Simple implementation of melt for matrices to produces results
similar to that of reshape2's now that it is deprecated.
The param na.rm
is not implemented.
Arguments
- data
matrix
to melt- varnames
variable names to use in molten
data.table
- ...
further arguments passed to or from other methods
- as.is
if
FALSE
, dimnames will be converted to factor or integer etc as appropriate. IfTRUE
, they will be left as strings.- value.name
name of variable used to store values (default = "value")