R/predict.R

Defines functions predict.egf

Documented in predict.egf

predict.egf <-
function(object, newdata = NULL, class = FALSE, se = FALSE, ...) {
	if (is.null(newdata)) {
		ans <- fitted(object, class = class, se = se)
		oldClass(ans)[oldClass(ans) == "fitted.egf"] <- "predict.egf"
		return(ans)
	}
	.NotYetImplemented() # TODO
}

confint.predict.egf <- confint.fitted.egf

Try the epigrowthfit package in your browser

Any scripts or data that you put into this service are public.

epigrowthfit documentation built on April 3, 2025, 10:51 p.m.