format_fct_ref | R Documentation |
Formats package as 'pkg' and, when called the first time, adds reference as [@R-pkg]
format_fct_ref(pkg, this_fct, force_index = TRUE, force_pkg = FALSE)
pkg |
a pkg availabe locally or github |
this_fct |
name of function |
force_index |
Logical (TRUE or FALSE) - defines whether to force formal reference (e.g. [@R-pkg]) |
force_pkg |
force citation of package? TRUE|FALSE |
a string in rmarkdown
format_fct_ref("dplyr", "group_by")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.