Episode 36-R Search and Substitute matches in character strings

Опубликовано: 06 Август 2026
на канале: R for Corpus Linguistics
203
1

I’m taking this opportunity to work through R with Stefan Gries' practical introduction called Quantitative Corpus Linguistics with R. I didn’t find anyone working through R at my speed and level when I was first starting, so you’re welcome to try this with me, either with Gries' book or just with R.

In this episode, I look at functions to find as well as replace matches in character strings in vectors in R.
Episode Includes:
strapply()
gsub()
grep()
nchar()
cat()
regular expressions, including ^ , . , …, \\