## functions
export(
onls,
x0,
y0,
deviance_o,
residuals_o,
logLik_o,
check_o,
doGauge
)

importFrom("minpack.lm", "nlsLM", "nls.lm", "nls.lm.control")
importFrom("graphics", "abline", "lines", "par", "plot", "points", "legend", "segments")
importFrom("grDevices", "extendrange", "n2mfrow")
importFrom("stats", ".checkMFClasses", "approx", "as.formula", "coef",
             "confint", "deviance", "fitted", "formula", "napredict", "naprint",
             "printCoefmat", "profile", "pnorm", "pt", "qchisq", "qf", "qnorm", "qt",
             "quantile", "resid", "splinefun", "residuals", "symnum", "deriv", "setNames",
             "vcov", "df.residual", "weights", "logLik", "predict")
importFrom("utils", "flush.console")

## S3 methods
S3method(print, onls)
S3method(plot, onls)
S3method(logLik, onls)
S3method(predict, onls)
S3method(summary, onls)
S3method(print, summary.onls)
S3method(print, logLik.onls)
S3method(print, logLik_o)
S3method(residuals, onls)
S3method(fitted, onls)
S3method(deviance, onls)
S3method(coef, onls)
S3method(formula, onls)
S3method(vcov, onls)
S3method(df.residual, onls)
S3method(weights, onls)
S3method(confint, onls)
S3method(profile, onls)
S3method(anova, onls)
S3method(confint, profile.onls)
S3method(plot, profile.onls)
