calc_features60_consumption {SmartMeterAnalytics}R Documentation

Calculates features from 15-min smart meter data

Description

Calculates features from 15-min smart meter data

Usage

calc_features60_consumption(B, rowname = NULL, replace_NA_with_defaults = TRUE)

Arguments

B

a vector with length 24*7 = 168 measurements in one day in seven days a week

rowname

the row name of the resulting feature vector

replace_NA_with_defaults

replaces missing (NA) or infinite values that may appear during calculation with default values

Value

a data.frame with the calculated features as columns and a specified rowname, if given the row name of the resulting feature vector

Author(s)

Konstantin Hopf konstantin.hopf@uni-bamberg.de

Examples

# Create a random time series of 60-minute smart meter data (168 measurements per week)
smd <- runif(n=168, min=0, max=2)
# Calculate the smart meter data features
calc_features60_consumption(smd)

[Package SmartMeterAnalytics version 1.0.3 Index]