predict.gl1ce: Use `predict()' on a `gl1ce' object
Description
Extracts the fitted values from a gl1ce() object and returns a matrix of
predictions.Usage
predict.gl1ce(object, newdata, type=c("link", "response"),
se.fit = FALSE, ...)Value
a vector of predictions.Warning
predict can produce incorrect predictions when the newdata
argument is used if the formula in object involves
data-dependent transformations, such as poly(Age, 3)
or sqrt(Age - min(Age)).Details
This function is a method for the generic function predict
for class gl1ce. It can be invoked by calling predict
for an object of the appropriate class, or directly by
calling predict.gl1ce regardless of the class of the object.