predict.NBCD: Predict class values for new data with NBCD model.

Description Usage Arguments Value

Description

Predict class values for new data with NBCD model.

Usage

1
2
## S3 method for class 'NBCD'
predict(object, newdata, time, use.lm, n.models = Inf, ...)

Arguments

object

[NBCD]
NBCD model.

newdata

[data.frame]
Containing variables.

time

[numeric(1)]
Time for which to predict.

use.lm

[logical(1)]
Use lm models to forecast the movements of mean and sd? (Default TRUE) If FALSE, use mean and sd of old.model.

n.models

[numeric(1)]
Number of past model values for the linear prediction.

...

Arguments passed to predict.nb2(...).

Value

Results from predict.nb2(...).


aschersleben/NBCD documentation built on May 12, 2019, 4:32 a.m.