sorry!

vols=read.csv(file="C:/Documents and Settings/Hugh/My
Documents/PhD/Quick&DirtyVols.csv" 
+  , header=TRUE, sep=",")
> x<-ts(vols[,2])
> x

so I have an ts object of 500 elements.

I want to be able to split the array into say two parts of 250?

How can I do it?
I want to keep the elements in the same order



--
View this message in context: 
http://r.789695.n4.nabble.com/Split-an-array-into-arbirtary-sizes-tp3948938p3949426.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to