Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dashaub/designmatrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Tools for Creating Design/Model Matrices with Dates in R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages