regimeshift.FLVector: 'regimeshift' performs helps in identifying the parameters of...

Description Usage Arguments Value Examples

Description

regimeshift performs helps in identifying the parameters of the Gaussian distribution and the probability that a given observation has been drawn from a given distribution on FLVector objects. The DB Lytix function called is FLRegimeShiftUdt.

Usage

1
2
## S3 method for class 'FLVector'
regimeshift(data, regimes = 2, ...)

Arguments

data

An object of class FLVector.

regimes

Total number of Regimes.

Value

regimeshift returns a data.frame

Examples

1
2
3
4
vdf <-  sqlQuery(connection, "SELECT Num_Val FROM tblRegimeShift WHERE Groupid = 1 AND Obsid <500")
colnames(vdf) <- tolower(colnames(vdf))
flv <- as.FL(vdf$num_val)
flmod <- regimeshift(flv, regimes = 3)

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.