Skip to content

Instantly share code, notes, and snippets.

@psyguy
Last active May 9, 2020 00:13
Show Gist options
  • Select an option

  • Save psyguy/fbda659bcf9d4cda47300f25148dba2a to your computer and use it in GitHub Desktop.

Select an option

Save psyguy/fbda659bcf9d4cda47300f25148dba2a to your computer and use it in GitHub Desktop.

Popular Iranian Names – 1383-1396

A few days back, Peyman Asadzade, a polotical scientist at Arizona State University, posted the following tweet, holding what he called “the decline in the popularity of religious names for babies” as an example for “considerable evidence of growing secularization in Iran.”

There is considerable evidence of growing secularization in Iran. One example is the decline in the popularity of religious names for babies in the last two decades. In 2002, 5.1 percent of babies were named “Mehdi,” a popular Shia name. In 2017, only 1.2 percent were named Mehdi pic.twitter.com/d1PN7Nv0WZ

— Peyman Asadzade (@PeymanAsadzade) May 6, 2020

He included this plot as evidence for this decline: image

There are a couple of things wrong with his claim:

meh *

(Tweet embedding )

بعدها رزومه ی آقازاده:
من از کلاس ششم به صورت حرفه ای فونت طراحی می کردم. https://t.co/Gkdmv0WKWC

— دل آرام (@about_Deli) May 8, 2020

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

A collapsible section with markdown

GitHub Documents

This is an R Markdown format used for publishing markdown documents to GitHub. When you click the Knit button all R code chunks are run and a markdown file (.md) suitable for publishing to GitHub is generated.

Including Code

You can include R code in the document as follows:

summary(cars)
##      speed           dist       
##  Min.   : 4.0   Min.   :  2.00  
##  1st Qu.:12.0   1st Qu.: 26.00  
##  Median :15.0   Median : 36.00  
##  Mean   :15.4   Mean   : 42.98  
##  3rd Qu.:19.0   3rd Qu.: 56.00  
##  Max.   :25.0   Max.   :120.00

Including Plots

You can also embed plots, for example:

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment