![]() For example, to format the caption in italics, use underscores: It does not matter whether the reference precedes or comes after the caption itself.Īnother benefit to using captioner is that the output can be formatted using markdown syntax. `r figure_nums(name = "figname", display = "cite")` `r figure_nums(name = "figname", caption = "My Caption")` The table_nums() and figure_nums() functions are used to create captions and cross-references, and are not tied to any specific figure or table, as is the case with kable table captions and R code chunk fig.cap.Ī caption is created, e.g., for a figure: Table_nums <- captioner(prefix = "Table")įigure_nums <- captioner(prefix = "Figure") The R code to do this: library(captioner) The captioner package provides a flexible framework for captioning both tables and figures. 9.11 Quick copy from Excel (Windows only)ģ.3.4 captioner for any captioning and cross-referencing figures and tables.9.10 Easier regular expressions with RVerbalExpressions.9.9 Getting US Census data with tigris, tidycensus.9.7 Timing with Sys.time() and difftime().9.6 Dates and time stamps: POSIXct and lubridate.9.5 Downloading files from password-protected web sites.9.3 Turning text into code: eval(parse(text = "some string")).8.1.2 Comparing participant answers to correct answers.5.3 Limitations of version control systems.3.6 Advantages and disadvantages of PDF. ![]() 3.5.1 R Markdown rendering to specific formats.3.3.4 captioner for any captioning and cross-referencing figures and tables.3.3.2.1 bookdown with html_document2 output type.3.3.1.2 bookdown with html_document2 output type.3.3 Captions to support tables, figures, and equations.2.4.2.4 Create or calculate columns: mutate().2.4.2.3 Subset rows and columns: filter() and select().2.1 Code to run for the in-class exercise.1.2.3.1 Render and view the enhanced output.1.2.3 Create an R Markdown file with some enhancements.1.2.2 Create an R Markdown file from built-in RStudio functionality.1.2 Introduction to R Markdown in RStudio.1.1 Getting started on Terminal Server 4.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |