Multi-page plots squeezed into single presentation page
For datasets with many features, multiple pages are returned.
When visualizing in presentation format, it would be neat to be able to plot page by page to fit the slides. Currently one needs to subset the dataframe by hand, e.g. data[, 1:15] and data[, 16:30].
Would you mind providing more information? E.g.,
- What do you use for presentation?
- What is the current behavior in your presentation? Multiple DataExplorer pages squeezed into a presentation page?
What do you use for presentation?
PDF (beamer). But I guess the behaviour is the same for all presentation tools in R
What is the current behavior in your presentation? Multiple DataExplorer pages squeezed into a presentation page?
Yep, exactly.
Inspired by this SO post: Looks like all we need is a line break after each plot. I will test it out when I have a chance.
FYI, super busy with work and personal life for 2nd half of 2018. You might have to manually subsetting your DFs for a while. If I may, this might be helpful for you, maximum plots per page by chart type:
- bar/scatterplot/prcomp: 9L
- boxplot: 12L
- histogram/density: 16L
Thanks for the quick reply and the information.
This is more difficult than I expected. I tried adding line breaks, forcing grid.newpage(), etc. Multi-page plots are still squeezed into one page. At least they don't work with HTML-based presentation modes. I will move this out of v0.7.0 release, since I don't see a near-term solution.
To make presentation mode slightly easier (still not ideal I admit), I have added ncol and nrow to all eligible plotting functions (#85), so that when you subset your data, you can at lease not hard-code those indices.
I will still keep this in mind, and hopefully fix this soon.