Homework Module 1.2

Your Name (replace me)

Date (replace me)

In the questions below, use R code to answer questions. For any non-coding questions, give your answer as a comment.

  1. In the code chunk below, define what a variable is (using comments), and create a variable myVariable set equal to 20.
  1. Describe what a vector is in R, and create a sample vector below:
  1. In the code chunk below, load the tidyverse. Why might we do this, and what is the tidyverse for?
  1. Describe what a function is. What is an argument? How might you learn about what functions exist in R?
  1. What is camel case? Describe some best practices for naming variables.
  1. What is the mean for the survey responses for self reported willingness to settle in a remote environment (hint: use the remote column)
  1. What does the glimpse function do (we have not covered it)? How might you learn more about it?