visdat icon indicating copy to clipboard operation
visdat copied to clipboard

Use seriation package for col + row reordering

Open hadley opened this issue 8 years ago • 5 comments

https://cran.r-project.org/web/packages/seriation/vignettes/seriation.pdf

hadley avatar Feb 25 '16 15:02 hadley

Thanks! I'll have a read, looks interesting. :)

njtierney avatar Feb 26 '16 01:02 njtierney

I've been thinking about this a bit and I'd be interested in your thoughts, Hadley.

While I think it's good to incorporate some row+col reordering features into visdat, I that reordering could potentially be a useful "forensic/investigatory" process in data cleaning, where you try and work out patterns in data entry or missing data.

So my concerns are that in introducing these features like seriation or expectations (as in #15) into visdat, it might get away from the idea of one package doing one thing simply, and perhaps it would be best to make another package that uses seriation / expectations to explore data features, and potentially missing data patterns altogether.

njtierney avatar Mar 06 '16 23:03 njtierney

I think it's reasonable to include both original and seriated orders - I don't see any reason to privilege the original order of the rows/columns over potentially other more useful orders.

hadley avatar Mar 08 '16 16:03 hadley

That's a good way of looking at it. Thanks for that mate, very much appreciated.

njtierney avatar Mar 09 '16 00:03 njtierney

just a note to myself to keep an eye on this issue here: https://github.com/dgrtwo/widyr/issues/4 as this looks like it will be very very handy

njtierney avatar Jul 19 '16 14:07 njtierney