You can consult the documentation here
Whenever I created a file in Rmarkdown, there was a pattern of
necessary packages and functions that I almost always used.
So this package provides a template for pdf reports in Rmarkdown and
quite usual functions, note that it is a package more
aggregator than creator.
::install_github("https://github.com/AlissonRP/fastrep") devtools
::install_github("https://github.com/AlissonRP/fastrep") remotes
To generate a pdf in Rmarkdown is recommended to use tinytex
.
If you don’t have, use:
::install_tinytex() tinytex
::draft("namefile.Rmd", template = "fast_report", package = "fastrep") rmarkdown
::draft("namefile.Rmd", template = "fast_paper", package = "fastrep", create_dir = FALSE) rmarkdown
tbl
: This function is used to generate tablesfreq_tbl
: This function assists in creating frequency
tables (tibble
)cross_tbl
: 2x2 table, values can be absolute or
marginal rows using argument marg = TRUE
describe
: Summarize the data.frame
outputting a tibble