Learn R Programming

stringr (version 1.4.1)

stringr-data: Sample character vectors for practicing string manipulations.

Description

fruit and word come from the rcorpora package written by Gabor Csardi; the data was collected by Darius Kazemi and made available at https://github.com/dariusk/corpora. sentences is a collection of "Harvard sentences" used for standardised testing of voice.

Usage

sentences

fruit

words

Arguments

Format

A character vector.

An object of class character of length 720.

An object of class character of length 80.

An object of class character of length 980.

Examples

Run this code
length(sentences)
sentences[1:5]

length(fruit)
fruit[1:5]

length(words)
words[1:5]

Run the code above in your browser using DataLab