Back to Course

R Basics & Beyond | Private Cohort

0% Complete
0/0 Steps
  1. WORKSHOP 1
    1 Quiz
  2. Installing R and RStudio
    1 Quiz
  3. The RStudio IDE
    1 Quiz
  4. Coding Basics
    1 Quiz
  5. WORKSHOP 2
    1 Lesson
    |
    1 Quiz
  6. Data dive: Ebola in Sierra Leone
    1 Quiz
  7. RStudio Projects
    1 Quiz
  8. WORKSHOP 3
    1 Lesson
    |
    1 Quiz
  9. Data structures
    1 Quiz
  10. Using R Markdown
    1 Quiz
  11. WORKSHOP 4
    1 Lesson
    |
    1 Quiz
  12. Select & rename
    3 Lessons
    |
    2 Quizzes
  13. Filter
    2 Quizzes
  14. WORKSHOP 5
    1 Lesson
    |
    1 Quiz
  15. Mutate
    2 Quizzes
  16. WORKSHOP 6
    1 Lesson
    |
    1 Quiz
  17. Using ChatGPT
    1 Lesson
  18. Conditional mutate
    2 Quizzes
  19. Group by and summarize
    1 Quiz
  20. WORKSHOP 7
    1 Lesson
    |
    1 Quiz
  21. Other grouped operations
    1 Quiz
  22. Pivoting data
    1 Quiz
  23. WORKSHOP 8
    1 Lesson
    |
    1 Quiz
  24. Intro to ggplot2
    1 Quiz
  25. Scatter plots and smoothing
    1 Quiz
  26. WORKSHOP 9
    1 Lesson
    |
    1 Quiz
  27. Lines, scales, and labels
    1 Quiz
  28. WORKSHOP 10
    1 Lesson
    |
    1 Quiz
  29. Histograms
  30. Boxplots
    1 Quiz
  31. WORKSHOP 11
    1 Quiz
  32. RBB Final Project
Topic 10 of 32
In Progress

Using R Markdown

This lesson can be followed by watching the lesson video below, or reading through the lesson manuscript further down. Choose whichever mode works best for you!

Lesson video

🚗 Video too fast or too slow? Click the gear icon ⚙️ at the bottom-right to change the speed!


Lesson notes

The written guide below is an accompaniment to the lesson video. You may read through it if you prefer written tutorials to video content.

👋 Before you go, please rate your satisfaction with this lesson

Ratings are completely anonymous

Average rating 3.5 / 5. Vote count: 4

No votes so far! Be the first to rate this post.

Please share any positive or negative feedback you may have.

Feedback is completely anonymous

Subscribe
Notify of
guest

11 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Lameck

Hi instructors, or anyone who can help. I am encountering an error, as you can see in the attached photo. I cannot knit, but all the codes are running well. Please help…

Rmarkdown-error
Sabina

Hi Lameck!

It appears your code is correct but for some reason RStudio is not finding the dataset. I recommend saving your Rmd file and try restarting your R session. Sometimes this can debug small errors.

Muna

Hello. I did not use the here function for my code and it still knit. is it beacuse my csv is in the data folder in the rmd?ebola_sierra_leone <- read_csv(“data/ebola_sierra_leone.csv”) Also, this may be intuitive but how to type the backticks in mark because i was not able to do this command succesfully… Read more »

Screen-Shot-2024-04-23-at-15.14.32
Lameck

I think the r and the code must all be within the backticks.

Last edited 21 days ago by Lameck
Sabina

Hi Muna!

Although Rmd appeared to knit, we always recommend you to add the here() function when importing any dataset. So make sure to include it in your script.

As for the inline code, just as Lameck mention, you need to write the inline code INSIDE the tick marks.

Last edited 20 days ago by Sabina
Godfrey

How do I obtain  |> on the keyboard?

Mohamed

To type the vertical bar on most keyboards, press Shift + \.

EKUMBO

Very interesting, however I would like to know if Markdown can help carry out geographic analyzes such as remote sensing or thematic analyses? And if in future training you could include such analyses. THANKS

Kene David

Hello! Yes R can be used for this. We’ll consider including it in future sessions.

EKUMBO

Very interesting, however I would like to know if Markdown can help carry out geographic analyzes such as remote sensing or thematic analyses? And if in future training you could include such analyses. THANKS

Kene David

Hello! Yes R can be used for this. We’ll consider including it in future sessions.

11
0
Questions or comments?x