Skip to content

Commit

Permalink
Reverted commit as it caused new problems
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Jun 1, 2016
1 parent e42f456 commit 85cf2d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/lm.R
Original file line number Diff line number Diff line change
@@ -103,8 +103,8 @@ tslm <- function(formula, data, subset, lambda=NULL, biasadj=FALSE, ...){
fit$residuals <- ts(residuals(fit))
fit$fitted.values <- ts(fitted(fit))
tsp(fit$residuals) <- tsp(fit$fitted.values) <- tsp(data[,1]) <- tspx
#fit$data <- data # This unfortunately needs to be a mf, to be able to separate multivariate response
#fit$x <- data[,1] ## Do we want to include subsetting here?
fit$data <- data # This unfortunately needs to be a mf, to be able to separate multivariate response
fit$x <- data[,1] ## Do we want to include subsetting here?
fit$call <- cl
if(NCOL(data[,1])>1){ #Univariate response
fit$data <- data[,1]

0 comments on commit 85cf2d8

Please sign in to comment.