training_data: Prepare training data

Description Usage Arguments Value

View source: R/data.R

Description

This function combines historical observations of Hue state and weather conditions into a dplyr::data_frame() formatted for model fitting.

Usage

1
training_data(state, weather)

Arguments

state

dplyr::data_frame() of Hue state observations, typically created by archive_data()

weather

dplyr::data_frame() of weather observations, typically created by archive_data()

Value

Returns a dplyr::data_frame() ready for a call to fit_models()


fascinatingfingers/zeitgebeR documentation built on Oct. 25, 2019, 4:50 p.m.