0

Data:

new:

Sl no.   Description
1.       Find your id here
2.       people talk about you
3.       it's your turn

for (i in 1:3) {
    print(cat('count of ',new$Description[i], str_count(new$Description[i], "your")))
}

How can I assign this out put to a dataframe and export to excel? Also is it possible to assign to a matrix?

Peter
  • 11,500
  • 5
  • 21
  • 31

0 Answers0