[R-SIG-Finance] Problem with stoch
Worik Stanton
worik.stanton at gmail.com
Mon Aug 29 06:42:23 CEST 2011
I was getting an error "Error in runSum(x, n) : Series contains
non-leading NAs" using stoch on an XTS with over 86,000 rows.
There are no NAs in the series.
Using binary search I narrowed the problem down to a section of the XTS
with only 51 rows. Herein.
I am not concerned, as I am not really interested in stoch right now,
but it is an interesting thing.
> stoch(F)
Error in runSum(x, n) : Series contains non-leading NAs
> F
S1.3600
2011-08-26 06:47:22 1.029176
2011-08-26 06:47:22 1.029176
2011-08-26 06:47:23 1.029176
2011-08-26 06:47:24 1.029176
2011-08-26 06:47:24 1.029176
2011-08-26 06:47:25 1.029176
2011-08-26 06:47:26 1.029176
2011-08-26 06:47:27 1.029176
2011-08-26 06:47:28 1.029177
2011-08-26 06:47:29 1.029177
2011-08-26 06:47:30 1.029177
2011-08-26 06:47:30 1.029177
2011-08-26 06:47:31 1.029177
2011-08-26 06:47:32 1.029177
2011-08-26 06:47:33 1.029177
2011-08-26 06:47:34 1.029177
2011-08-26 06:47:35 1.029178
2011-08-26 06:47:35 1.029178
2011-08-26 06:47:36 1.029178
2011-08-26 06:47:37 1.029178
2011-08-26 06:47:37 1.029178
2011-08-26 06:47:38 1.029178
2011-08-26 06:47:39 1.029179
2011-08-26 06:47:40 1.029179
2011-08-26 06:47:41 1.029179
2011-08-26 06:47:41 1.029179
2011-08-26 06:47:42 1.029179
2011-08-26 06:47:43 1.029179
2011-08-26 06:47:44 1.029179
2011-08-26 06:47:45 1.029179
2011-08-26 06:47:45 1.029179
2011-08-26 06:47:46 1.029179
2011-08-26 06:47:47 1.029180
2011-08-26 06:47:48 1.029180
2011-08-26 06:47:49 1.029180
2011-08-26 06:47:50 1.029180
2011-08-26 06:47:51 1.029180
2011-08-26 06:47:51 1.029180
2011-08-26 06:47:52 1.029180
2011-08-26 06:47:53 1.029180
2011-08-26 06:47:53 1.029180
2011-08-26 06:47:54 1.029180
2011-08-26 06:47:55 1.029180
2011-08-26 06:47:55 1.029180
2011-08-26 06:47:56 1.029180
2011-08-26 06:47:57 1.029180
2011-08-26 06:47:58 1.029180
2011-08-26 06:47:59 1.029180
2011-08-26 06:48:00 1.029180
2011-08-26 06:48:01 1.029180
2011-08-26 06:48:02 1.029180
>
--
The hippies were right
More information about the R-SIG-Finance
mailing list