[R] Shorting Matrices

Vasilis Bardakos gratebill at yahoo.gr
Wed Jun 29 02:27:33 CEST 2016


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 this even correct?
Also, for some reason when I set var = Matrix[,2] somehow the values changed from rationals to integers.
Thank you in advance
	[[alternative HTML version deleted]]



More information about the R-help mailing list