create_validation_set: Splits data validation data

Description Usage Arguments Value

View source: R/create_validation_set.R

Description

Splits data validation data

Usage

1
2
create_validation_set(data, time_col, location_col, response_col,
  covariate_cols, prediction_steps, covariate_change = "Constant")

Arguments

time_col

name of column containing time point of each observation

location_col

name of column containing location of each observation

response_col

name of column containing response

covariate_cols

name of column containing the value for ab consumption

prediction_steps

number of time steps ahead to predict (assumes intervals are constant)

covariate_change

Default is Constant. Will assume that ab consumption remains same as last observed time point

Data

dataframe containing all variables and covariates and time and location of each observation

Value

A list containing training data and the validation data


bjeffrey92/MyINLA documentation built on Aug. 12, 2021, 10:01 a.m.