summary {mStats} | R Documentation |
Table Format for Publication
Description
summary()
organizes the output and print
a favorable format
to the console, which is used with rmarkdown package
to produce publication-ready tables.
Usage
## S3 method for class 'tab'
summary(object, ...)
## S3 method for class 'summ'
summary(object, ...)
Arguments
object |
an object for which a summary is desired. |
... |
additional arguments affecting the summary produced. |
Author(s)
Email: dr.myominnoo@gmail.com
Website: https://myominnoo.github.io/
Examples
## Not run:
## Summary for tabulation
x <- tab(infert, education, parity:spontaneous)
summary(x)
x <- tab(infert, education, parity:spontaneous, by = case)
summary(x)
## Summary for summary statistics
x <- summ(iris)
summary(x)
x <- summ(iris, by = Species)
summary(x)
x <- summ(iris, by = Species, detail = TRUE)
summary(x)
## End(Not run)
[Package mStats version 3.4.0 Index]