calc_features60_consumption: Calculates features from 15-min smart meter data

Description Usage Arguments Value Author(s) Examples

View source: R/F_features_60min.R

Description

Calculates features from 15-min smart meter data

Usage

1
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

1
2
3
4
# 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)

SmartMeterAnalytics documentation built on Aug. 18, 2020, 5:07 p.m.