View source: R/UtilityFunctions.R
compareMatrices | R Documentation |
Compare two matrices, calculate percentage difference (m1-m2)/m1. Dimensions of the two matrices must be the same.
compareMatrices(m1, m2, percentage_diff = FALSE)
m1 |
matrix 1 |
m2 |
matrix 2 |
percentage_diff |
A logical value indicating whether to compare percentage difference |
A matrix of comparison
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.