ModelHistory: ModelHistory

Description Usage Arguments

View source: R/ModelHistory.R

Description

This function takes an overall dataset, a model type option and returns unseen predictions for the past n days.

Usage

1
ModelHistory(data, model, n, coln)

Arguments

data

The total dataset to be split on each day

model

An option for the type of model, (1) "TREE" does CART and (2) "GLM" does LogReg

n

The number of days back to calculate unseed predictions on

coln

If set to TRUE returns line of columns per day, if FALSE simply all predictions in one


dennist2/MerlinV2 documentation built on Dec. 23, 2019, 6:36 p.m.