Skip to contents

Predicting from Emax regression models

Usage

# S3 method for class 'emaxnls'
predict(
  object,
  newdata = NULL,
  se.fit = FALSE,
  interval = "none",
  level = 0.95,
  ...
)

Arguments

object

An emaxnls object

newdata

A named list or data frame in which to look for variables with which to predict. If newdata is missing the fitted values at the original data points are returned.

se.fit

A switch indicating if standard errors are required.

interval

A character string indicating if prediction intervals or a confidence interval on the mean responses are to be calculated. Can be "none", "confidence", or "prediction"

level

A numeric scalar between 0 and 1 giving the confidence level for the intervals (if any) to be calculated.

...

Ignored

Details

The predict() method for for Emax regression is a thin wrapper around xgxr::predict.nls(). Please see the documentation for that function.