R: tidy text dataset - tibble
Revision as of 08:34, 31 October 2018 by Onnowpurbo (talk | contribs) (Created page with "==Text Vector== text <- c("Because I could not stop for Death -", "He kindly stopped for me -", "The Carriage held but just Ourselves -", "a...")
Text Vector
text <- c("Because I could not stop for Death -",
"He kindly stopped for me -",
"The Carriage held but just Ourselves -",
"and Immortality")
text
Tidy Text Dataset
library(dplyr) text_df <- data_frame(line = 1:4, text = text) text_df