readTitles: readTitles

View source: R/Sherlock.R

readTitlesR Documentation

readTitles

Description

read and edit titles to remove blank lines and white space

Usage

readTitles(titles)

Arguments

titles

is a character string containing the full path name for a text file containing the titles of the stories in the same order that thney appear in the texts file

Value

a character vector of titles

Examples

titles<-system.file("extdata/contents3.txt",package="SherlockHolmes")
rt<-readTitles(titles)

SherlockHolmes documentation built on March 31, 2023, 5:47 p.m.