'cut' nas from beginning and end of series
Posted: Sat Feb 23, 2013 5:33 am
I am wondering how I can create a sample (object) from a series which contains nas before and after the values which I actually want to use.
e.g.:
series:
1/2011: na
2/2011: na
3/2011: 1
4/2011: 2
5/2011: na
6/2011: na
sample 3/2011 till 4/2011:
3/2011: 1
4/2011: 2
e.g.:
series:
1/2011: na
2/2011: na
3/2011: 1
4/2011: 2
5/2011: na
6/2011: na
sample 3/2011 till 4/2011:
3/2011: 1
4/2011: 2