predict.nlsr: Predictions for models specified as a formula of style y ~...

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

View source: R/nlsr-package.R

Description

Function to allow predictions from nonlinear models estimated with nlxb from package nlsr if the model is specified by a formula with the structure y ~ (something).

Usage

1
2
3
## S3 method for class 'nlsr'
 ## S3 method for class 'nlsr'
predict(object, newdata,...)

Arguments

object

The output object of executing nlxb to estimate the model. An object of class 'nlsr'.

newdata

A named list containing the new data. This should be derived from a data frame of the same structure as the data used to estimate the model.

...

Any data needed for the function. We do not know of any! This is NOT currently used.

Details

To be added.

Value

Returns the predictions.

Author(s)

John C Nash <nashjc@uottawa.ca>

See Also

Function nls().

Examples

1
cat("See examples in nlsr-package.Rd and in vignettes.\n")

nlsr documentation built on Nov. 23, 2021, 3:01 a.m.