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
Maybe that too, but I think this is also nice since its effects are transient. We don't even have to assign the whole index -- just the 2*topn elements that are displayed during print, assigned to the rbind(head(x), tail(x)) object we're already making.
Name show_indices was just for example, not committed to that at all 😄
setindex
basically creates "shadow columns" --nrow(x)
-size vectors that can be used to sortx
on the fly.It would be helpful, besides
tables()
andindices()
, to be able to show the indices alongside the rest of the tables columns.This is nice for auditing our tables, as well as helping to surface/visualize what indices actually are/why they're useful.
e.g.
add to #1523
The text was updated successfully, but these errors were encountered: