Simple attribute copy used in casnet
to convert between matrix
and Matrix
classes and back.
rp_copy_attributes(
source,
target,
source_remove = c("names", "row.names", "class", "dim", "dimnames", "x")
)
The target matrix with attributes copied from the source matrix.