WebR sandbox · Integrated Bioanalytics
Loading…
or press Ctrl/⌘ + Enter — highlight part of your code to run just that part
view(name) opens a table — it works on anything, including a result you just built: view(filter(solvents, category == "alcohol")). Also handy: colnames(name), glimpse(name), summary(name). Writing a figure caption? buildCaption() opens the caption checklist. Packages ready: dplyr, ggplot2, tidyr, readr, stringr.Environment
Caption element checklist
Write the caption into the figure as you go:
labs(caption = str_wrap("Figure 1: …", width = 100)).
ggplot draws a caption as a single line and clips it at the edge of the plot, so a real
paragraph-length caption needs str_wrap() (from stringr, loaded here) to break it
across lines. Mark each item below once your caption covers it; it disappears when you do.