Skip to contents

Makes a learner available by name to grain_ladder() and to learners(). The learners that ship are registered the same way, so there is no list of names inside the fitting code.

Usage

register_learner(name, constructor, overwrite = FALSE)

learners()

Arguments

name

Name the learner is asked for by.

constructor

A function returning a learner().

overwrite

Replace an existing registration.

Value

The constructor, invisibly.

Examples

learners()