Learn R Programming

stringr (version 1.4.0)

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.

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