Visually compare the true model with estimation results (final results or during model fitting) and compute accuracy statistics.
coefficientComparisonPlot(
model,
true.model,
nenv.to.plot = 0,
nlatent.to.plot = 0,
plot.interactions = any(model$sp != 0),
plot.intercept = FALSE,
excluded.interactions = NULL,
layout = TRUE,
noplot = FALSE,
env.stats = TRUE,
legend = TRUE,
...
)A vector with accuracy statistics.
the EICM model of interest.
the true model to compare with (usually, the one used for simulating the data).
the number of environmental variables to plot.
the number of latent variables to plot.
logical. Plot interaction coefficient scatterplot?
logical. plot the species-level intercepts?
a binary species x species matrix telling which interactions were excluded a priori.
logical. Do multi-panel layout?
logical. Do plots? If TRUE, it will return the accuracy statistics only.
logical. Compute accuracy for environmental predictors?
logical. Plot legend?
further arguments to pass to plot.