pander
options, just run this function
without any parameters provided. To query only one value,
pass the first parameter. To set that, use the
value
parameter too.panderOptions(o, value)
pander
options are available:
digits
: numeric (default:2
) passed toformat
decimal.mark
: numeric (default:.
) passed
toformat
round
: numeric (default:Inf
) passed toround
date
:
string (default:'%Y/%m/%d %X'
) passed toformat
when printing dates (POSIXct
orPOSIXt
)header.style
:'atx'
or'setext'
passed topandoc.header
list.style
:'bullet'
,'ordered'
or'roman'
passed topandoc.list
. Please not that this has no
effect onpander
methods.table.style
:'multiline'
,'grid'
or'simple'
passed topandoc.table
table.split.table
: numeric passed topandoc.table
and also affectspander
methods. This option tellspander
where to split
too wide tables. The default value (80
) suggests
the conventional number of characters used in a line,
feel free to change (e.g. toInf
to disable this
feature) if you are not using a VT100 terminal any more
:)table.split.cells
: numeric (default:30
) passed topandoc.table
and also
affectspander
methods. This option tellspander
where to split too wide cells with line
breaks. SetInf
to disable.evals.messages
: boolean (default:TRUE
)
passed toevals
'pander
method specifying
if messages should be renderedp.wrap
: a
string (default:'_'
) to wrap vector elements
passed top
functionp.sep
: a string
(default:', '
) with the main separator passed top
functionp.copula
: a string
(default:'and'
) with ending separator passed top
functiongraph.nomargin
: boolean
(default:TRUE
) if trying to keep plots' margins
at minimalgraph.fontfamily
: string
(default:'sans'
) specifying the font family to be
used in images. Please note, that using a custom font on
Windows requiresgrDevices:::windowsFonts
first.graph.fontcolor
: string (default:'black'
) specifying the default font colorgraph.fontsize
: numeric (default:12
)
specifying thebasefont size in pixels. Main
title is rendered with1.2
and labels with0.8
multiplier.graph.grid
: boolean
(default:TRUE
) if a grid should be added to the
plotgraph.grid.minor
: boolean (default:TRUE
) if a miner grid should be also renderedgraph.grid.color
: string (default:'grey'
) specifying the color of the rendered gridgraph.grid.lty
: string (default:'dashed'
) specifying the line type of gridgraph.boxes
: boolean (default:FALSE
) if to
render a border around of plot (and e.g. around strip)graph.legend.position
: string (default:'right'
) specifying the position of the legend:
'top', 'right', 'bottom' or 'left'graph.background
: string (default:'white'
)
specifying the plots main background's colorgraph.panel.background
: string (default:'transparent'
) specifying the plot's main panel
background. Pleasenote, that this option is not
supported withbase
graphics.graph.colors
: character vector of default color
palette (defaults to a colorblind theme:base
plots
by appending thecol
argument to the call if not
set.graph.color.rnd
: boolean (default:FALSE
) specifying if the palette should be
reordered randomly before rendering each plot to get
colorful imagesgraph.axis.angle
: numeric
(default:1
) specifying the angle of axes' labels.
The available options are based onpar(les)
and
sets if the labels should be:1
:
parallel to the axis,2
: horizontal,3
: perpendicular to the axis or4
:
vertical.graph.symbol
: numeric (default:1
) specifying a symbol (see thepch
parameter ofpar
)evalsOptions
panderOptions()
panderOptions('digits')
panderOptions('digits', 5)
Run the code above in your browser using DataLab