Skip to contents

These methods delegate to the fitted nonlinear least-squares object returned by gslnls::gsl_nls(), while preserving the model metadata added by the fit_*() wrappers.

Usage

# S3 method for class 'predmicror_fit'
print(x, ...)

# S3 method for class 'predmicror_fit'
summary(object, ...)

# S3 method for class 'predmicror_fit'
predict(object, newdata = NULL, ...)

# S3 method for class 'predmicror_fit'
plot(
  x,
  xlab = x$x,
  ylab = paste0(x$response, " (", x$response_scale, ")"),
  ...
)

# S3 method for class 'predmicror_fit'
coef(object, ...)

# S3 method for class 'predmicror_fit'
fitted(object, ...)

# S3 method for class 'predmicror_fit'
residuals(object, ...)

# S3 method for class 'predmicror_fit'
vcov(object, ...)

# S3 method for class 'predmicror_fit'
logLik(object, ...)

# S3 method for class 'predmicror_fit'
AIC(object, ..., k = 2)

# S3 method for class 'predmicror_fit'
BIC(object, ...)

Arguments

x, object

A predmicror_fit object.

...

Additional arguments passed to the underlying method.

newdata

Optional data frame for prediction. If omitted, predictions are computed for the original data.

xlab, ylab

Axis labels used by plot().

k

Penalty used by AIC().

Value

The value returned by the corresponding method for the underlying nonlinear model object. plot() invisibly returns x.