plotinitial: Initial Values plot.

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/plotinitial.R

Description

Plot the fited curve and data, at a certain point of parameters, a given user parameter value (initial values mostly), or from selfStart slot.

Usage

1
plotinitial(form, data, start = getInitial(form, data), length.out = 100,...)

Arguments

form

nl.form object of the nonlinear regression model function.

data

List of data set.

start

NULL or list of starting value, include the parameter names.

length.out

Length of the incremented predictor values, to acheive a more smooth curve.

...

extra argument to be passed to plot function, for further developement purposes.

Details

Plot initial can plot any fited curve at any parameter value. Technically it is implemented to test initial values computing by selfStart slot of nl.form object. But user can insert hi/her own starting value or even the final fited value.

Value

Two dimensional Fitted curve and points.

Note

Although the final parameter estimates can be used to fit the curve, but it has less options than plot function.

Author(s)

Hossein Riazoshams, May 2014. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/

References

Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.

Seber, G., A. F. and Wild, C. J. (2003). Nonlinear Regression. New York: John Wiley & Sons, Inc.

See Also

nl.form

Examples

1
2
3
4
5
## 
## Plot initial values from selfStart of Scaled Exponential Convex for carbon data
##
  crbdt<-list(xr=nlr::carbon$year,yr=nlr::carbon$co2)
  	plotinitial(form = nlrobj5[[8]],data = crbdt)

nlr documentation built on July 31, 2019, 5:09 p.m.

Related to plotinitial in nlr...