Last data update: 2014.03.03

R: Print method for objects of class 'summarytools'.
print.summarytoolsR Documentation

Print method for objects of class summarytools.

Description

Display summarytools objects in the console, in Web Browser or in RStudio's Viewer.

Usage

  ## S3 method for class 'summarytools'
print(x, method="pander", ...)

Arguments

x

summarytools object that was generated with freq, descr or dfSummary.

method

One of “pander”, “viewer” or “browser”. Defaults to “pander”. If “viewer” is used outside RStudio, Web Browser will be used instead.

...

Additional arguments (not used for now).

Value

NULL when method="pander" ; a file path (returned invisibly) when method="viewer" or method="browser". In the latter case, the html file is passed to shell.exec which opens the file in default browser.

Author(s)

Dominic Comtois <dominic.comtois@gmail.com>

References

https://github.com/dcomtois/summarytools

Examples

  data(iris)
  print(freq(iris$Species))

Results