-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please document: xts( , order.by ) order.by' cannot contain 'NA', 'NaN', or 'Inf' #199
Comments
Thanks for the report! It was added in commit c24c682. I'll update the documentation to explain the rationale for the change. |
I also bumped into this problem but cannot find any description in the latest version of documentation,either. Please help to add the documentation. Moreover, I have some questions regarding to this issue. The question is the results after aggregating are different from the results by previous version. First, I have a dataset (2 columns, one is the time stamp and another is some kind of measurement for each time stamp) which contains some NA both for time stamp and values. Next, I transform the dataset into xts format in order to obtain the mean value for each week. In the previous version, it works well without the warning. After installing the latest version, the script cannot work anymore
Therefore, I tried |
NA index values are no longer 'allowed' because, by definition, if the time series is indexed by a timestamp, you must know the index value to place the observation correctly in relation to other observations. So, @CSYMMC I don't understand how you could have a missing timestamp. Given your description, it sounds as though you have two time series, with different mostly overlapping indices, which should be merged via merge() or cbind() after conversion to xts. |
Here's my attempt to document the rationale for the change. Feedback welcome!
|
Dear All, I am relatively new to R programming and wonder if you could help me to address an error issue. Here is the code:
Would you please let me know what is wrong and how to address that issue? Many thanks. Best, Konstantin |
Hi Konstantin, this isn't the right place to ask your question. You can try Stackoverflow or the R-SIG-Finance mailing list. You also need to provide a minimal reproducible example. |
In
The following was added sometime.
That makes sense.
Please add documentation to 'xts', 'as.xts', and 'xtsible'.
I became suprised when my xtsible returned FALSE instead of TRUE.
Thanks,
Andre
The text was updated successfully, but these errors were encountered: