Learn R Programming

GCEstim (version 0.1.0)

changesupport: Change the support from lmgce object

Description

Changes the support spaces of a lmgce object

Usage

changesupport(object, support, verbose = 0)

Value

An lmgce object with the specified support spaces

Arguments

object

fitted lmgce object.

support

One of c("min", "1se", "elbow") or a chosen support from object$support.ok.

verbose

An integer to control how verbose the output is. For a value of 0 no messages or output are shown and for a value of 3 all messages are shown. The default is verbose = 0.

Author

Jorge Cabral, jorgecabral@ua.pt

Examples

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

res_gce_package_change <- changesupport(res_gce_package, "min")

summary(res_gce_package)

summary(res_gce_package_change)

# }

Run the code above in your browser using DataLab