Constant_cfg is a configuration class for estimating a constant model. That is, the model is a simple, one-parameter mean model.

Super class

tidyhte::Model_cfg -> Constant_cfg

Public fields

model_class

The class of the model, required for all classes which inherit from Model_cfg.

Methods


Method new()

Create a new Constant_cfg object.

Usage

Returns

A new Constant_cfg object.

Examples


Method clone()

The objects of this class are cloneable with this method.

Usage

Constant_cfg$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples


## ------------------------------------------------
## Method `Constant_cfg$new`
## ------------------------------------------------

Constant_cfg$new()
#> <Constant_cfg>
#>   Inherits from: <Model_cfg>
#>   Public:
#>     clone: function (deep = FALSE) 
#>     initialize: function () 
#>     model_class: Constant