- page
What is the page size of the document? Can be equal to "us" (for
US letter, the default) or "a4". Can also be a numeric vector of length 2 giving
the width and the height of the page in inches. Or can be a character string
of the type: "8.5in,11in"
where the width and height are separated with
a comma, note that only centimeters (cm), inches (in) and pixels (px) are accepted
as units--further: you can use the unit only once.
- margins
The bottom/left/top/right margins of the page. This is used to
obtain the dimension of the body of the text. Can be equal to "normal" (default,
which corresponds to 2cm/2.5cm/2cm/2.5cm), or to "thin" (1.5/1/1/1cm). Can be
a numeric vector of length 1: then all margins are the same given size in inches.
Can also be a numeric vector of length 2 or 4: 2 means first bottom/top margins,
then left/right margins; 4 is bottom/left/top/right margins, in inches. Last,
it can be a character vector of the type "2,2.5,2,2.5cm"
with the margins
separated by a comma or a slash, and at least one unit appearing: either cm
,
in
or px
.
- units
The default units when using the functions pdf_fit
,
png_fit
, etc. Defaults to "tw"
(text width) which
is a fraction of the size of the text. Alternatives can be "pw"
(page
width), and "in"
, "cm"
, "px"
.
- pt
The size of the text, in pt, once the figure is inserted in your final document.
The default is 10. This means that all text appearing in the plot with cex = 1
will appear with 10pt-sized fonts in your document.
- w2h
Numeric scalar. Used to determine the height of the figure based on
the width. By default it is equal to 1.75
which means that the graph
will be 1.75 larger than tall. Note that when argument sideways = TRUE
,
the default for the height becomes 90%
.
- reset
Logical, default is FALSE
. Whether arguments should be reset
to default before applying modifications.