Learn R Programming

GCEstim (version 0.1.0)

plot.neagging: Plot Diagnostics for a neagging Object

Description

Two plots (selectable by which) are currently available to evaluate a neagging object: plots of the estimates and in sample error against the number of bootstrap samples aggregated.

Usage

# S3 method for neagging
plot(x, which = 1, ...)

Value

A ggplot object.

Arguments

x

Fitted neagging model object.

which

Numbers 1 or 2.

...

additional arguments.

Author

Jorge Cabral, jorgecabral@ua.pt

See Also

lmgce, tsbootgce and neagging

Examples

Run this code
# \donttest{
res_gce_package <-
  lmgce(y ~ .,
        data = dataGCE,
        boot.B = 50,
        seed = 230676)

res_neagging <- neagging(res_gce_package)

plot(res_neagging)
# }

Run the code above in your browser using DataLab