Description Usage Arguments Value Examples
View source: R/stateGenerator.R
Add a column to the dataset with a unique indentifier for the operating conditions
1 2 3 |
data |
Dataframe with column names |
stateVars |
Vector of character strings to identify state variables by their column names in |
minObs |
Number of minimum observations required to define a "state." Defaults to statistically required p^2/2 where p is the number of process variables (including lag) |
testingDay |
Date object of the day to be evaluated for faults. |
rollingWindowDays |
Integer with the number of days of data to be included in the training window. |
A list of xts objects with data, a merged "labelCol," and separated by operating state
1 | dataBR <- stateGenerator(data = dataBR, stateVars = stateVarsBR, minObs = rollingWindowObs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.