appliedepi.bsky.social
@appliedepi.bsky.social
Improving Applied Epidemiology worldwide. Increasing the knowledge and resources of Epidemiologists no matter who or where they are.

Creator of the EpiRHandbook: https://epirhandbook.com/
Repeatedly rerunning the code is quite fun
December 24, 2024 at 8:57 PM
🎄 Merry Christmas Eve, everyone! 🎄

To wrap up this advent calendar, here’s our final tip:

Did you know you can use your own images in ggplot?

Check out this festive example with a cartoon of Santa —on his (surprisingly inefficient?) route tonight! 🎅✨

#DataViz #RStats
December 24, 2024 at 8:57 PM
And finally, here's a neat way to copy code to just above or below the original.

Highlight code and then press:

🪟 Shift + Alt + Up/Down (Windows)
🍎 Option + Command + Up/Down (Mac)
December 17, 2024 at 12:27 PM
Or try moving code up and down your script easily.

Do this by highlighting code and then:

🪟 Alt + Up/Down (Windows)
🍎 Option + Up/Down (Mac)
December 17, 2024 at 12:27 PM
🎄Day 17: RStudio magic🎄

Want to be in multiple places at once over the holidays?

We can't help you with that.

But - we can show you how to type in multiple places at once in RStudio! 😮

Useful when you need to make the same edit across your code but Find + Replace isn't suitable.
December 17, 2024 at 12:27 PM