getFittedModel: Retrieve the fitted model, if appropriate, from a loadModel...

View source: R/loadModelInterface.R

getFittedModelR Documentation

Retrieve the fitted model, if appropriate, from a loadModel load model

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

getFittedModel(load.model)

Arguments

load.model

The load model for which to return the inner fitted model.

Value

Object of class "function" which

See Also

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

Other getFittedModel: getFittedModel.loadModel


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