View source: R/calcConnectivityMatrixDiffs.R
calcConnectivityMatrixDiffs | R Documentation |
Function to calculate differences between connectivity matrices.
calcConnectivityMatrixDiffs( tbl_conns, tbl_base, conns_col = "connFrac", base_col = "meanFrac" )
tbl_conns |
- dataframe with connectivity values |
tbl_base |
- dataframe with base connectivity values |
conns_col |
- name of column in tbl_conns to difference |
base_col |
- name of column in tbl_base for differencing |
Connectivity values from the base matrix (iei., tbl_base
) are
subtracted from corresponding values in tbl_conns
on the basis of matching
values in the startZone and endZone columns in each dataframe.
Note that tbl_conns
may encapsulate several connectivity matrices. The base
matrix will be subtracted from each.
A dataframe of connectivity matrices idential to tbl_conns
, but
with the requested difference values in an additional column, diff
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.