makeNBCDmodel: Make or update NBCD model.

Description Usage Arguments Value

Description

Make or update NBCD model.

Usage

1
2
3
makeNBCDmodel(new.obs, model, max.waiting.time, init.obs, verbose = FALSE,
  ..., waiting.time = c("fixed", "auto"), min.waiting.time = 3,
  wait.all.classes = TRUE, k.waiting.time = 1)

Arguments

new.obs

[list]
Has elements "x" [data.frame] and "class" [factor] (and "time", if missing: +1)

model

[list]
Model from makeNBCDmodel or empty.

max.waiting.time

[numeric | list]
Can be numeric(1), then all features with same waiting time. In the other case, you have to give an individual waiting time for all features as an (un)named vector or list.

init.obs

[numeric(1)]

verbose

[logical(1)]

...

[any]
Arguments passed to update.nb2(...).

waiting.time

[character(1)]
Default is "fixed". If "auto", then calculate waiting time between two models (for factorial variables) with getWaitingTime2(). If "fixed", use max.waiting.time.

min.waiting.time

[numeric(1)]
Minimal waiting time, if waiting.time = "auto".

wait.all.classes

[logical(1)]
If waiting.time = "auto", should algo wait for all classes to be appeared?

k.waiting.time

[numeric(1)] If waiting.time = "auto", the calculated waiting time willl be multiplied by this argument's value.

Value

[NBCD]
NBCD model


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