--- title: "My R or Rmd code is not working:" subtitle: "(describe your problem on a single line here)" date: "`r Sys.Date()`" output: html_document --- ## This is what I'm trying to achieve: (Explain the overall purpose of what you’re doing. If you’re working from an exercise or tutorial, copy its URL from your browser’s address bar.) ## This is how far I've got on my own: (Explain in R code and/or words what you have managed thus far.) ```{r set_up} # Paste the start of the code you already have, # right up to the point where it gets difficult: ``` ## This is where things go wrong: ```{r problem, error = TRUE} # Paste your code which gives an error message or incorrect result: ``` ## This is how things go wrong: (Explain the difference between the result you're getting, and what you were expecting. If the code fails with an error message, explain what you thought would happen instead.) ## This is what I've tried thus far: (Describe which help texts or google searches you have tried, and state whether any of them looked promising. You may also paste in other code alternatives that you would think might have worked, but don't.) ```{r} # (This chunk can be left blank if you have no relevant code to show.) ```