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
I think your proposed function provides similar results, but I'll likely follow the pattern in zoo:::as.matrix.zoo in case there's some edge case differences I'm not spotting.
The
xts:::as.matrix.xts
function (xts/R/matrix.R
Line 23 in 016b7cd
A first try at a patch looks like:
I think it needs to be a bit more generic? But this was enough for me, and fixes a unit test that was complaining:
The text was updated successfully, but these errors were encountered: