Panels (or faceting) can be created by using the
facets argument as follows:
facetsis a string e.g
facets = "SEX", facets will be created using
facetsis a formula e.g
facets = SEX~MED1, facets will be created using
All xpose plot functions accept arguments for
ncol = 2,
labeller = 'label_both', etc.). With the default xpose theme scales are set to
'free' from one panel to another (
scales = 'free'), this behavior can be changed with
scales = 'fixed',
When the arguments
nrow are set and under the condition that they are more panels to be drawn that can fit on a single page given the selected layout, the multiple page functionality will automatically be enabled.
By default all pages will be shown but this can be time consuming. To select only specific pages to be drawn, use the argument
It is also possible to change the page(s) to be drawn from an already existing
xpose_plot object via the
To number pages the keywords
@lastpage can be used to respectively indicate the current page and the total number of pages.
To systematically number all generated plots a caption suffix can be defined in the
Multiple pages graphs can simply be saved by using the
'jpg') can also be used, simply ensure to have a page counter (i.e.
'%03d') added the file name.