predict.xreg: Predict function for xreg

Description Usage Arguments Author(s)

View source: R/predict.xreg_function.R

Description

Predict function for xreg-objects.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'xreg'
predict(
  object,
  newdata = NULL,
  type = c("link", "response", "terms"),
  return_lik_df = FALSE,
  return_vector = FALSE
)

Arguments

object

xreg-object

newdata

Data.frame with new data, or list of data.frames with new data

type

determines what type of predictions are wanted. Not yet implemented

return_lik_df

logical argument, if true, the full data.frame with likelihood-estimates will be returned

return_vector

logical argument, if true, a single vector of predicted values will be returned

Author(s)

Kim Rand


intelligentaccident/xreg documentation built on Jan. 17, 2021, 7:38 a.m.