You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update na.locf() unit tests to run over the 4 major atomic types.
Note that the 'xout' test does not currently run on character data
because merging a character xts with a zero-width xts return a numeric
result. This happens because all zero-width xts objects are numeric,
and merge.xts converts all inputs to a common type.
Add branch to handle character xts objects to 3 functions: firstNonNA,
na_locf, and na_omit_xts. Nothing too special, just copied a branch
for another type and changed the accessors to the necessary string
versions.
Fixes#42.
@kenahoo, I hope "better late than never" applies in this case!
I didn't address the n-way merge issue on character xts because I have some significant changes to the merge C code that I would like to incorporate first.
Submitted by: Ken Williams (@kenahoo)
Assigned to: Nobody
R-Forge link
na.locf() seems to fail on xts objects containing character data:
I can use na.locf.default() as a workaround, I don't seem to lose any fidelity in the process:
-Ken
The text was updated successfully, but these errors were encountered: