predict.nlsr: Predictions for models specified as a formula of style y ~ (something)
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
## S3 method for class 'nlsr'
# S3 method for nlsr
predict(object, newdata,...)
Value
Returns the predictions.
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.