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.
Package details |
|
---|---|
Maintainer | David Shaub <davidshaub@gmx.com> |
License | GPL-3 |
Version | 0.1.0 |
URL | https://github.com/dashaub |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.