Re: [R] Shorting Matrices

2016-06-28 Thread Jim Lemon
Hi Vasilis, Your question has more to do with telepathy than statistics, but I will attempt an answer anyway. You have in your possession a matrix (perhaps) named Matrix. Within are at least two columns of something, one of which contains dates. You have revealed that the other column contains nume

[R] Shorting Matrices

2016-06-28 Thread Vasilis Bardakos via R-help
Hello, I'm a newbie in R and I tried to run a regression, but the data I imported are quarterly, weekly and daily.In order to simplify my task I set vars = Matrix[,2] to exclude the Dates and then I tried to short the data quarterly so I did the following k = var[seq(1,"total # of data",22)] Is