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
davidearn/epigrowthfit documentation built on Feb. 22, 2025, 12:44 p.m.