rp_copy_attributes | R Documentation |
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")
)
source |
Source matrix |
target |
Target matrix |
source_remove |
Remove these attribute fields from the source before copying. |
The target matrix with attributes copied from the source matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.