coefficients.neagging {GCEstim} | R Documentation |
Extract neagging
Coefficients
Description
Extract coefficients from a neagging
object
Usage
## S3 method for class 'neagging'
coefficients(object, which = which.min(object$error)[[1]], ...)
Arguments
object |
Fitted |
which |
Number of aggregated models. The coefficients returned are by default the ones that produced the lowest in sample error. |
... |
Additional arguments. |
Value
Returns the coefficients from a neagging
object
Author(s)
Jorge Cabral, jorgecabral@ua.pt
Examples
res_gce_package <-
lmgce(y ~ .,
data = dataGCE,
boot.B = 50,
seed = 230676)
res_neagging <- neagging(res_gce_package)
coefficients(res_neagging)
coefficients(res_neagging, which = ncol(res_neagging$matrix))
[Package GCEstim version 0.1.0 Index]