89 Top Matter: Title, Date, Author, Abstract

Written by Yena Joo and last updated on 7 October 2021.

89.1 Introduction

When writing a formal paper or an essay using R, you are going to be writing in RMarkdown, and the first page of the paper should include a good title, date, author, and a neat abstract. Using latex in Markdown, it would be simple and easy to create a good first page of your essay.

Prerequisite skills include:

  • nothing much, just the topic of your own choice and functions we have learned so far which could be a good asset to your essay!

Highlights:

  • Format of a paper
  • YAML metadata
  • Abstract

89.2 Title, Date, Author

When you create a new R Markdown file, this is going to be a default latex template the Markdown creates as follows: Default latex template chunk

The template creates the default title, author, date, and output type for you. All you need to do is to change the green coloured texts into whatever you would like. Also, most of the formal research papers are created in pdf documents. If you need to write in pdf, you could change the output type to output: pdf_document, instead of hmtl_document.

For example:

---
title: "How to create a perfect essay"
author: "Your Name"
date: "April 28, 2021"
output: pdf_document
---

If you are starting from a blank R Notebook file, you can just copy and paste this chunk of code above and get started.

89.3 Abstract

The abstract of a research paper is a part that implies/summarizes only the most important points of the paper. You should include:

  1. The purpose/goal of the study and the research problem
  2. Design of the study and how it was conducted/analyzed
  3. Major findings and results of the study/analysis that you conclude with

You should write the abstract after you have finished writing the entire paper. The abstract is usually in one paragraph that readers could know the broad content of the paper just by reading it.

Also, try not to use every detail of your paper, or numeric references to the bibliography or sections of your paper, since readers would not have access to the full paper, and they would not have enough time to go over the entire paper to look for the references. Make sure to focus on the core contents.

To create an abstract, you would first need a header:

## Abstract 

Then, get started on the abstract once you finished writing your entire paper.

89.4 Exercises

89.4.1 Question 1

89.4.2 Question 2

89.4.3 Question 3

Read the following chunk:

---
title: "This is a title"
author: "Kelly"
date: "January 2022"
output: html_document
---

What do you need to change if you want to create a PDF document? a. title
b. author
c. date
d. output

89.4.4 Question 4

What do you have to include in an abstract?
a. Design of the study
b. goal of the study
c. major findings of the study
d. all of the above

89.4.5 Question 5

89.4.6 Question 6

89.4.7 Question 7

89.4.8 Question 8

89.4.9 Question 9

89.4.10 Question 10

89.5 Common Mistakes & Errors

There is not much space to make a mistake here, but take your time to write your abstract. Do not include too much information in your abstract. Think of your abstract as an appetizer of the meal, it is to show the readers a big picture of your paper.

89.6 Next Steps

You can now create a well-formatted first page of your paper. Try adding Introduction, Method, Analysis, Visualization, Discussion, and Conclusion parts to your paper, and have fun! In the next lecture, you will learn how to create a nice table that could be presented in papers.

89.7 Exercises

89.7.1 Question 1

89.7.2 Question 2

89.7.3 Question 3

89.7.4 Question 4

89.7.5 Question 5

89.7.6 Question 6

89.7.7 Question 7

89.7.8 Question 8

89.7.9 Question 9

89.7.10 Question 10