dashaub/designmatrix: Tools for Creating Design/Model Matrices with Dates

Design/model matrices are useful covariates for regression models and machine learning tasks. R does a good job of handling these for automatically for factors, but extra difficulties present themselves when working with dates. Identifying holidays and the days around them can be useful along with other interesting features (e.g. first/last week of month, weekday, major sports events, months, and interaction terms for these). These tasks are unified in designmatrix with the familiar R formula syntax.

Getting started

Package details

MaintainerDavid Shaub <davidshaub@gmx.com>
LicenseGPL-3
Version0.1.0
URL https://github.com/dashaub
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("dashaub/designmatrix")
dashaub/designmatrix documentation built on May 14, 2019, 6:11 p.m.