getFittingFunction: Get a function that can be used to refit the load.model with...

View source: R/loadModelInterface.R

getFittingFunctionR Documentation

Get a function that can be used to refit the load.model with new data.

Description

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

See Also

Other loadModelInterface: estimateMSE, getFittedModel, getFittingData, getMetadata, predictSolute, simulateSolute, summarizeModel, validLoadModelInterface

Other getFittingFunction: getFittingFunction.loadModel


USGS-R/loadflex documentation built on July 26, 2023, 9:54 p.m.