Abstract
R uses seven regular expression functions for pattern matching and replacement. If you know how to use these functions with appropriate regular expression patterns, then you have a worthy and efficient toolkit for most data science applications.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
“Regular Expressions with grep, Regexp and sub in the R Language,” accessed on February 5, 2020, www.regular-expressions.info/rlanguage.html.
- 2.
“grep Function | R Documentation,” accessed on March 18, 2020, www.rdocumentation.org/packages/base/versions/3.6.2/topics/grep.
- 3.
“R: Pattern Matching and Replacement,” accessed on March 18, 2020, https://stat.ethz.ch/R-manual/R-devel/library/base/html/grep.html.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Yarberry, W. (2021). The Magnificent Seven. In: CRAN Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6876-6_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-6876-6_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-6875-9
Online ISBN: 978-1-4842-6876-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)