predict.gdlm: Generate predictions from a gradient descent generated linear...

Description Usage Arguments Author(s) Examples

Description

Generate predictions from a gradient descent generated linear model

Usage

1
2
3
## S3 method for class 'gdlm'
predict(object, newdata = NULL, type = c("working",
  "response"), ...)

Arguments

object

model to generate predictions from

newdata

data to predict responses for

type

the scale on which to generate residuals

Author(s)

kholub

Examples

1
2
m <- gdlm(Sepal.Width ~ Species * Petal.Width + Petal.Length, data = iris, loss = LS_LOSS)
predict(m)

holub008/gdlm documentation built on May 13, 2019, 6:14 p.m.