Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReturn plots as ggplot objects #78
Comments
|
Yes it is a Two options IMO:
I am more inclined to option 2, since you already get what you need from the returned object, and it is cleaner. Option 1 seems a little redundant, and might conflict with future development of this package. Again, I do not have clear vision about what that is, but would like to keep it clean and simple for now. Open for suggestions. And, thanks for using DataExplorer! |
|
Thanks for the explanation! So, if I understand correctly,
and then create a plot copying the Instead, I suggest adding an optional parameter defaulting to
and a simple
|
|
It will be released in v0.7. Please use either workarounds in the mean time. |
|
Absolutely! Thanks a lot :-D BTW, another possible solution:
This way, Personally I think that the first solution (adding the optional argument |
|
Added |
Are the DataExplorer plots
ggplotobjects? I would like to usepatchworkto patch together twoplot_missingplots for two different datasets (actually, the same data set, but split by a binary variable). If the plot generated byplot_missingis aggplotobject, then returning it would allow me to patch two (or more) of them together usingpatchwork.PS excellent package, thanks for putting it on CRAN!