Answers for "count words in r string"

R
0

count word in a string r

library(stringr)
str_count(string = "How many words are in this sentence", pattern = '\w+')
Posted by: Guest on December-16-2020

Browse Popular Code Answers by Language