[R] time series, uneven length

2012-08-08 Thread joel.green
I have 4 univariate time series that I believe have correlation between them, I want to create a VAR model between them all. However I have an issue as 3 of them are the same length, however the 4th is smaller. meaning that i cannot use the 4th variable , is there anyway R can get round this is

[R] scanning data into r

2012-03-28 Thread joel.green
Hey I am having trouble importing data into R, my data field looks like this 21 TEST DATA 32 year:2012 33 34 5 36 I require the the number at the start of each line however the text is not needed, i am struggling to get R to import the data with out changing the file itself? how do i impor