interactionPlot {eicm} | R Documentation |
Compare two interaction matrices
Description
Visually compare two interaction (adjacency) matrices and return accuracy statistics
Usage
interactionPlot(
estimated.adjacency.matrix,
true.adjacency.matrix,
excluded.interactions = NULL,
labels = TRUE,
noplot = FALSE,
legend = TRUE,
...
)
Arguments
estimated.adjacency.matrix |
the interaction matrix of the model of interest. |
true.adjacency.matrix |
the interaction matrix of the model to compare with (usually, the one used for simulating the data). |
excluded.interactions |
a binary species x species matrix telling which interactions were excluded a priori. |
labels |
logical. Add default axis labels and title? |
noplot |
logical. Do plots? If TRUE, it will return the accuracy statistics only. |
legend |
logical. Plot legend? |
... |
further arguments to pass to |
Value
A vector with accuracy statistics.
[Package eicm version 1.0.3 Index]