Description Usage Arguments Note Examples
Returns the line index numbers of the titles of each short story or chapter in the a vectorized short story collection or book.
1 | find_chapters(text, keyword)
|
text |
Character vector containing all the lines in a given text |
keyword |
Character string of keywords that identify the title lines of each chapter. |
The last element in the output is the line
1 2 | chapters <- c(" and other stories, by Katherine Mansfield : ")
find_chapters(text = gardenParty, keyword = chapters)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.