Displaying 2 results from an estimated 2 matches for "31dec2012".
2013 Jan 18
2
A smart way to use "$" in data frame
...state AR:
dataa$newbalance[data$newstate == 'AR']
1170
2700
Now, I have another different data frame datab, it is very similar to data, except that the name of the columns are different, and the order of the columns are different:
oldstate olddate oldbalance oldid oldaccounts
1 AR 31DEC2012 1234 7 40
2 WA 31DEC2012 2222 3 30
3 VA 31DEC2012 2345 5 23
3 AR 31DEC2012 5673 5 23
datab$oldbalance[datab$oldstate== 'AR' ]
1234
5673
Could I have a way to quo...
2013 Jan 22
6
plot two time series with different length and different starting point in one figure.
Hello,
I do have two different time series A and B, they are different in length and starting point. A starts in Jan, 2012 and ends in Dec, 2012 and B starts in March, 2012 and ends in Nov, 2012.
How can I plot those two series A and B in the same plot? I.E., from Jan. 2012 - Feb, 2012, it would have one data point from A and from Mar, 2012-Nov, 2012, it would have two data points from A and B,