Created
January 16, 2025 18:31
-
-
Save saudiwin/3b7ff0f29e8e562b11e05c9a78a80ca9 to your computer and use it in GitHub Desktop.
How to use emojis in your #rstats code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(dplyr) | |
| # define code as emojis | |
| # simulate data from Normal distribution and fit OLS regression | |
| `π` <- lm | |
| `π€©` <- tibble | |
| `π€ͺ` <- mutate | |
| `π«£` <- `π€©`(`π` = runif(100)) %>% | |
| `π€ͺ`(`π±` = rnorm(n=100, mean = -1 + 1.5 * `π`)) | |
| `π` <- `π`(`π±` ~ `π`, data = `π«£`) | |
| summary(`π`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment