21 Distance Between Savior Names, Part 1
Readings
The Book of Mormon. This link is for reference only. You don’t have to read the full BOM before completing this assignment, but you should reading some each day :).
Guided Instruction
None
In 1978 Susan Easton Black stated, “Even statistically, he [Christ] is the dominant figure of the Book of Mormon.”
With our strong “string” skills we are going to check her results and build an improved statistic using number of words between references.
- Get the scripture and savior name data into R.
- Scripture Text: Use the same data as the Counting Words task. You don’t have to download it again if you stored it on your computer. See the Counting Words for code to complete this step.
- Savior Names: Use
read_rds(url("https://byuistats.github.io/M335/data/BoM_SaviorNames.rds"))
orread_rds("https://byuistats.github.io/M335/data/BoM_SaviorNames.rds")
to download and load the Savior names table into R. (Or try experimenting withrio::import()
to read in the data)
- Use the list of Savior names and the Book of Mormon text to find the distribution of number of words between references to the Savior.
- Split the string on each instance of a Savior name in the Book of Mormon,
- Then count the number of words between each instance.
- Create a visualization of the distribution of words between savior names.
- Can you get the plot to “tell a story”?
- Calculate the average number of words between each Savior name overall.
- Create an
.qmd
file with one to two paragraphs to tell about the distribution / the data’s story regarding distance between Savior names. - Render your `.qmd`, then push all the files created in the rendering process into your GitHub repository.
Submit
In I-learn submit a link to the .md
file on GitHub.