basicFeatures: Implementation of several basic statistical features

Description Usage Arguments Details Examples

View source: R/features-basic.R

Description

Function that implements a set of common statistical features that can be run on an instance of MeterDataClass.

Usage

1
basicFeatures(meterData, ...)

Arguments

meterData

An instance of MeterDataClass that provides the data used for all the implemented feature calculations.

Details

basicFeatures is called by passing in an instance of a MeterDataClass, which provides the meter data in both linear series and day-per-row matrix formats. These data structures and some associated indices and intermediate data structures are re-used throughout this method, which tries to take advantage of the performance benefits of such re-use. This function is often called in the context of the iterator.* suite of functions, which can loop through large sets of meters, calling feature functions on each.

Examples

1
2
3
4
5
6
7
8
## Not run: 
DATA_SOURCE = TestData(n=10)
meterData = DATA_SOURCE$getMeterDataClass(DATA_SOURCE$getIds()[1])
features = basicFeatures(meterData)
names(features)
class(features)

## End(Not run)

ConvergenceDA/visdom documentation built on May 6, 2019, 12:51 p.m.