to_pdf.Rd
to_pdf
plots an object directly into one ore multiple PDF files.
For a describr
or describrGtable
object,
the object it first turned into a
plottable object respecting the given size constraints (potentiall split-up)
and then plotted to pdf using grid.draw()
.
For a list of describrGtable
objects they are plotted directly to
pdf files of suitable size.
to_pdf(x, name, ...) # S3 method for describr to_pdf(x, name, maxwidth = Inf, maxheight = Inf, ...) # S3 method for describrGtable to_pdf(x, name, maxwidth = Inf, maxheight = Inf, ...) # S3 method for list to_pdf(x, name, ...)
x | object to plot. |
---|---|
name | name used for output file(s), might be extended if multiple plots are generated and no ending is needed (e.g. 'my_file'). |
... | further options for specific methods. |
maxwidth | maximal plotting width in inches (plain numeric). |
maxheight | maximal plotting heigth in inches (plain numeric). |