coefficientComparisonPlot {eicm}R Documentation

Diagnostic monitor plots for EICM

Description

Visually compare the true model with estimation results (final results or during model fitting) and compute accuracy statistics.

Usage

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,
  ...
)

Arguments

model

the EICM model of interest.

true.model

the true model to compare with (usually, the one used for simulating the data).

nenv.to.plot

the number of environmental variables to plot.

nlatent.to.plot

the number of latent variables to plot.

plot.interactions

logical. Plot interaction coefficient scatterplot?

plot.intercept

logical. plot the species-level intercepts?

excluded.interactions

a binary species x species matrix telling which interactions were excluded a priori.

layout

logical. Do multi-panel layout?

noplot

logical. Do plots? If TRUE, it will return the accuracy statistics only.

env.stats

logical. Compute accuracy for environmental predictors?

legend

logical. Plot legend?

...

further arguments to pass to plot.

Value

A vector with accuracy statistics.


[Package eicm version 1.0.3 Index]