Learning Objectives

  • Familiarize yourself with the structure of RMarkdown documents.
  • Learn some basic text and document formatting.

R Markdown and R Notebooks

There are lots of resources for learning RMarkdown. I won’t attempt to cover the process in detail, rather I’ll refer you to explore the following two resources which describe the basics (and more) of RMarkdown:

The RMarkdown section of R for Data Science

RStudio’s RMarkdown Page

Some of the key concepts you need to know about are:

  • Document YAML Headers
  • Output Document Formats
  • Output Themes
  • Tables of Contents
  • Document Section Headers (1st, 2nd, 3rd level headers, etc.)
  • Text, Formatting, and Code Chunks

Instructions

Create a new R notebook for the assignment. Use the document header options to:

  • Make the document title: “R Markdown Documents - Part 1”
  • Make the document’s subtitle: “Analysis of Environmental Data”
  • List your name as the document’s author.
  • Set the output type to html_document
  • (Optional) choose a theme
  • Create a floating table of contents.

Create the following sections in the document using 1st level headers. You’ll need to use some basic Markdown formatting syntax to make lists, change font face, etc.

Introduction

Briefly introduce yourself. Put your name in bold text. Put the name of your program or major in italics.

Concepts List

Create numbered list with 2 - 4 concepts you want to learn in this course. Your might want to include things like:

  1. Basic R
  2. Hypothesis-Testing
  3. 42

Course List

Create a bullet-point list containing 2 - 4 of the favorite courses you’ve taken so far.

For example, some courses that I have enjoyed taking or teaching are:

  • Analysis of Environmental Data (and Lab!)
  • General Botany (many years ago….)
  • Introduction to GIS

Report

Once you’re satisfied with how your output html document looks, submit it in the file upload form on the Moodle assignment submission page.