Lecture 20: Text as data. Overview of the character data type, and of strings. Basic string operations: extracting and replacing substrings; splitting strings into character vectors; assembling character vectors into strings; tabulating counts of string tokens by string type. The need for a way of computing with text patterns, and not just constants. Example text: al2.txt
(This lecture ripped off from Vince Vu, with permission.)
Posted at November 04, 2013 10:30 | permanent link