visdat icon indicating copy to clipboard operation
visdat copied to clipboard

vis_*_ly still available?

Open rinzebloem opened this issue 3 years ago • 2 comments

Are the plotly wrappers still available for the visdat package?

I am not able to use vis_miss_ly() after installing the package (both from CRAN or dev version), R simply doesn't recognize the function.

rinzebloem avatar Nov 08 '20 13:11 rinzebloem

Hi there!

To get plotly wrappers around visdat functions, you can run:

library(visdat)
library(plotly)
vis_dat(airquality)
ggplotly()

The vis_*_ly functions are in another branch and development slowed as I wasn't sure the benefit over using ggplotly() was worth the tradeoff.

Let me know if this doesn't fit your usecase and then I'll have another data point towards implementing the vis_*_ly family.

njtierney avatar Nov 09 '20 22:11 njtierney

Thanks for the quick response! I understand the reasons for taking vis_*_ly out of the package. Unfortunately, wrapping vis_miss() into ggplotly() is simply too slow to be reasonable for my dataset (time series with 17k observations of 1.5k variables) and according to this documentation, the vis_*_ly functions were supposed to be "3000 times faster". However, I understand from your comment that this does not seem to be the case?

rinzebloem avatar Nov 10 '20 06:11 rinzebloem