View source: R/plot-coefficients.r
interactionPlot | R Documentation |
Visually compare two interaction (adjacency) matrices and return accuracy statistics
interactionPlot(
estimated.adjacency.matrix,
true.adjacency.matrix,
excluded.interactions = NULL,
labels = TRUE,
noplot = FALSE,
legend = TRUE,
...
)
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 |
A vector with accuracy statistics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.