TrainAndTest.sample: Create a data.table for actual v fitted, with train and test...

Description Usage Arguments

View source: R/TrainAndTest.sample.R

Description

Takes a lm object and outputs an actual vs fitted table.

Usage

1
TrainAndTest.sample(data, train.size = 0.75, date.index = "Week")

Arguments

data

data.table.

train.size

Proportion of dataset that should be in the training set. Between 0 and 1.

date.index

Character. The date index of the lm(data = ?) variable.


Braja93/braja documentation built on June 1, 2017, 5:19 p.m.