get_lagged_vars: Get lagged variables

Description Usage Arguments Value Author(s)

Description

Calculates lagged temperature variables for GEFCOM smd data.

Usage

1
get_lagged_vars(x, variables, lags = 1)

Arguments

x

cleaned data frame. Should be the output from clean_smd_data() function.

variables

character vector. Vector of variable names that should be lagged.

lags

numeric vector. Vector of lags to calculate. Hourly values.

Value

A data frame containing lagged variables.

Author(s)

Cameron Roach


camroach87/gefcom2017 documentation built on May 8, 2019, 11:10 p.m.