Learn R Programming

deepregression (version 2.2.0)

coef.drEnsemble: Method for extracting ensemble coefficient estimates

Description

Method for extracting ensemble coefficient estimates

Usage

# S3 method for drEnsemble
coef(object, which_param = 1, type = NULL, ...)

Value

list of coefficient estimates of all ensemble members

Arguments

object

object of class "drEnsemble"

which_param

integer, indicating for which distribution parameter coefficients should be returned (default is first parameter)

type

either NULL (all types of coefficients are returned), "linear" for linear coefficients or "smooth" for coefficients of smooth terms

...

further arguments supplied to coef.deepregression