Document Your Code with R Markdown feature image Source: National Ecological Observatory Network
NEON EDUCATION bio photo

NEON EDUCATION

Devoted to open data and open source in science and education.

View All Tutorials

Tags

R programming (52)
Hierarchical Data Formats (HDF5) (15)
Spatial Data & GIS (22)
LiDAR (10)
Raster Data (14)
Remote Sensing (25)
Data Visualization (4)
Hyperspectral Remote Sensing (18)
Time Series (15)
Phenology (7)
Vector Data (6)
Metadata (1)
Git & GitHub (7)
(1) (1) (14)

Tutorial by R Package

dplyr (7)
ggplot2 (16)
h5py (2)
lubridate (time series) (6)
maps (1)
maptools (1)
plyr (2)
raster (26)
rasterVis (raster time series) (3)
rgdal (GIS) (24)
rgeos (2)
rhdf5 (11)
sp (5)
scales (4)
gridExtra (4)
ggtheme (0)
grid (2)
reshape2 (3)
plotly (5)

View ALL Tutorial Series




Twitter Youtube Github


Blog.Roll

R Bloggers

Series: Document Your Code with R Markdown

This series teaches you to use the R Markdown file format to document code and efficiently publish code results & outputs.

Series Goals/Objectives

After completing the series, you will be able to:

  • Document & Publish Your Workflow: R Markdown & knitr
    • Explain why documenting and publishing one’s code is important.
    • Describe two tools that enable ease of publishing code & output: R Markdown and the knitr package.
  • Document Code with R Markdown
    • Know how to create an R Markdown file in RStudio.
    • Be able to write a script with text and R code chunks.
    • Create an R Markdown document ready to be ‘knit’ into an HTML document to share your code and results.
  • Publish Code - From R Markdown to HTML with knitr
    • Be able to produce (‘knit’) an HTML file from a R Markdown file.
    • Know how to modify chuck options to change the output in your HTML file.

Things You’ll Need To Complete This Series

You will need R and RStudio installed on your computer. Installation instructions are here.

Tutorials in the Series