compareMatrices: Compare two matrices, calculate percentage difference...

View source: R/UtilityFunctions.R

compareMatricesR Documentation

Compare two matrices, calculate percentage difference (m1-m2)/m1. Dimensions of the two matrices must be the same.

Description

Compare two matrices, calculate percentage difference (m1-m2)/m1. Dimensions of the two matrices must be the same.

Usage

compareMatrices(m1, m2, percentage_diff = FALSE)

Arguments

m1

matrix 1

m2

matrix 2

percentage_diff

A logical value indicating whether to compare percentage difference

Value

A matrix of comparison


USEPA/useeior documentation built on April 12, 2024, 1:36 p.m.