predict.mlwinfitIGLS: Returns the predicted data from "mlwinfitIGLS" objects.

View source: R/mlwinfitIGLS.R

predict.mlwinfitIGLSR Documentation

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

An mlwinfitIGLS-class 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 response are returned.

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


R2MLwiN documentation built on May 29, 2024, 2:10 a.m.