plot.eicm.list | R Documentation |
Multiple types of plots for EICM models: coefficients, network topology, confidence intervals and likelihood profiles. Allows to plot a single model or the comparison between an estimated and a true model.
## S3 method for class 'eicm.list'
plot(
x,
type = ifelse(is.null(true.model), "network", "coefficients"),
true.model = NULL,
...
)
x |
a EICM model. |
type |
character. The type of plot, one of |
true.model |
the true model to compare with (usually, the one used for simulating the data). |
... |
further arguments to pass to |
If no true.model
is provided, type
must be one of confint
, profile
, network
.
If true.model
is provided, type
must be one of network
or coefficients
.
In the latter case, see coefficientComparisonPlot
for possible options.
If x
is of type eicm.list
(as returned by eicm
), this function first
tries to plot the model after network selection, then, if it was not computed, the fitted model with the full network.
If true.model
is provided and type="coefficients"
, returns a named vector with
accuracy statistics (invisibly). Otherwise, NULL.
coefficientComparisonPlot
, confint.eicm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.