fitModel: Fit a previously built model on some experimental data

View source: R/fitModel.R

fitModelR Documentation

Fit a previously built model on some experimental data

Description

The fitting itself is performed with the nlsLM() function from the minpack.lm package.

Usage

fitModel(customModel, x, y, initParams = NULL)

Arguments

customModel

Model built with buildModel()

x

Numeric vector, x data

y

Numeric vector of same length as x, y data

initParams

Named list of starting values for model fitting, if NULL then the default values specified at model building are used

Value

Output from nlsLM


mdjbru-R-packages/thermPerf documentation built on Nov. 4, 2023, 11:48 p.m.