README.md

Travis-CI Build Status Coverage Status

designmatrix

Tools for creating design/model matrices with dates in R. The project is currently inactive.

Usage

Many features are not yet implemented or optimized. However, basic usage is outlined below:

library(designMatrix)
useDates <- seq(from = as.Date("2010-01-01"), to = as.Date("2016-12-31", by = "days)
dm <- designMatrix(useDates, months = "all", weekdays = "all", years = "all")
library(forecast)
tsData <- arima.sim(n = length(useDates), list(ar = c(0.8897, -0.4858), ma = c(-0.2279, 0.2488)), sd = sqrt(0.1796))
aa <- auto.arima(tsData, xreg = dm)
aa

License

This package is free software released under the GPL-3 license.



dashaub/designmatrix documentation built on May 14, 2019, 6:11 p.m.