powered by
Calculates features from 15-min smart meter data
calc_features60_consumption(B, rowname = NULL, replace_NA_with_defaults = TRUE)
a data.frame with the calculated features as columns and a specified rowname, if given the row name of the resulting feature vector
a vector with length 24*7 = 168 measurements in one day in seven days a week
the row name of the resulting feature vector
replaces missing (NA) or infinite values that may appear during calculation with default values
Konstantin Hopf konstantin.hopf@uni-bamberg.de
# 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)
Run the code above in your browser using DataLab