userfriendlysciencePanderMethods

userfriendlyscience methods to pander objects

These methods try to provide output that's ready for R Markdown. Note that they are not all documented; most of them are quite straightforward.

Keywords
utilities
Usage
"pander"(x, ...) "pander"(x, digits=x$digits, powerDigits=x$digits + 2, ...) "pander"(x, headerPrefix = "#####", suppressPlot = FALSE, ...) "pander"(x, digits=x$input$digits, extraNotification=TRUE, ...) "pander"(x, info = x$input$info, file = x$input$file, ...) "pander"(x, digits = x$input$digits, pValueDigits=x$input$pValueDigits, ...) "pander"(x, digits = x$input$digits, pvalueDigits=x$input$pvalueDigits, headerStyle = "**", na.print="", ...) "pander"(x, digits=x$input$digits, pvalueDigits=x$input$pvalueDigits, ...) "pander"(x, headerPrefix = "", headerStyle = "**", ...) "pander"(x, headerPrefix = "", headerStyle = "**", secondaryHeaderPrefix = "", secondaryHeaderStyle = "*", ...) "pander"(x, headerPrefix = "", headerStyle = "**", secondaryHeaderPrefix = "", secondaryHeaderStyle = "*", tertairyHeaderPrefix = "--> ", tertairyHeaderStyle = "", separator = paste0("\n\n", repStr("-", 10), "\n\n"), ...) "pander"(x, prefix = "###", ...)
Arguments
x
The object to print.
digits
The number of significant digits to print.
powerDigits
Number of digits to use when printing the power.
headerPrefix, secondaryHeaderPrefix, tertairyHeaderPrefix, prefix
Prefix for headers, can be used to output headers for pandoc using R Markdown by specifying e.g. '####' for a level 4 header.
headerStyle, secondaryHeaderStyle, tertairyHeaderStyle
A character value to pre- and append to the header. This can be used to make the header appear bold ('**') or italic ('*') when not using an actual header (see headerPrefix).
separator
Separator to show between sections of output.
suppressPlot
Whether to suppress printing plots.
pValueDigits
Output to produce; see /code/linkrMatrix for details.
info, file
Output to produce and file to write to; see /code/linkassociationMatrix for details.
extraNotification
Whether an extra notification about the type of skewness and kurtosis returned by dataShape is shown.
pvalueDigits
The number of digits to show for p-values; smaller p-values will be shown as
na.print
What to print for missing values, for example for a oneway anova table.
...
Additional arguments that are passed on to the print functions when it is called.
Value

These printing methods use cat, cat0, and grid.draw to print stuff.

Aliases
  • userfriendlysciencePanderMethods
  • pander.associationMatrix
  • pander.crossTab
  • pander.dataShape
  • pander.descr
  • pander.examine
  • pander.examineBy
  • pander.freq
  • pander.frequencies
  • pander.meanDiff
  • pander.normalityAssessment
  • pander.oneway
  • pander.regr
Examples

userfriendlyscience:::pander.oneway(oneway(y=ChickWeight$weight, x=ChickWeight$Diet));

Documentation reproduced from package userfriendlyscience, version 0.5-2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.