Abstract
This chapter expands the analysis of vocabulary by focusing on words that occur very infrequently. Readers learn how to use sapply and to create another simple function.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
In R values can be assigned to an object using either <- or =. Throughout this book I use <- because it is the most common convention among users of R, and it avoids the whole = vs. == confusion.
- 2.
Remember that you can get the start up code for this chapter from Appendix C or the code repository.
- 3.
Thanks to Carmen McCue for this exercise suggestion.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Jockers, M.L. (2014). Hapax Richness. In: Text Analysis with R for Students of Literature. Quantitative Methods in the Humanities and Social Sciences. Springer, Cham. https://doi.org/10.1007/978-3-319-03164-4_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-03164-4_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-03163-7
Online ISBN: 978-3-319-03164-4
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)