Skip to contents

A function in the loadModelInterface. Takes a load.model and returns a function to fit a new load.model that is identical in every respect except its training data and resulting model coefficients or other paramters. The returned function should accept exactly one argument, the training data, and should return an object of the same class as load.model.

Usage

getFittingFunction(load.model)

Arguments

load.model

The model for which to return a new fitting function.

Value

Object of class "function" which