Learn R Programming

R2MLwiN (version 0.8-1)

predict,mlwinfitIGLS-method: Returns the predicted data from "mlwinfitIGLS" objects.

Description

Returns the predicted data from "mlwinfitIGLS" objects.

Usage

## S3 method for class 'mlwinfitIGLS':
predict(object, newdata = NULL, params = NULL,
  type = "link", se.fit = FALSE, terms = NULL, ...)

Arguments

object
newdata
data frame for which to evaluate predictions
params
a character vector specifying the parameters to use in evaluating predictions. If NULL, names(object[["FP"]]) is used by default.
type
when this has the value "link" (default) the linear predictor is returned. When type="terms" each component of the linear predictor is returned seperately. When type="response" predictions on the scale of the respon
se.fit
logical. When this is TRUE (not default) standard error estimates are returned for each prediction.
terms
if type="terms", which terms (default is all terms), a character vector.
...
Other arguments.

See Also

predict