Formulas: Formulas Class

Description Usage Arguments Value Super classes Methods

Description

Key-value dictionary contains formula class objects. This class is used maily to define a model's response variable and features and passed to Options class. Note that all formulas must have the same labels (response variable).

Usage

1

Arguments

...

Key and value pairs.

Value

A new Formulas class object.

Super classes

Dict::Dict -> ml4e::Option -> Formulas

Methods

Public methods

Inherited methods

Method new()

Construct a new Formulas class object.

Usage
Formulas$new(...)
Arguments
...

Key and value pairs.

Returns

A new Formulas class object


Method print()

Print object.

Usage
Formulas$print()

Method add()

Adds key and value pairs.

Usage
Formulas$add(...)
Arguments
...

Key and value pairs. Checked if the labels (response variabel) is the same with the current items.

Returns

Formulas object by invisible(self).


Method clone()

The objects of this class are cloneable with this method.

Usage
Formulas$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


five-dots/ml4e documentation built on June 19, 2020, 4:26 p.m.