Zähle Wortvorkommen in R

Gibt es eine Funktion zum zählen der Anzahl, wie oft ein bestimmtes Schlüsselwort enthalten ist, in einem dataset?

Zum Beispiel, wenn dataset <- c("corn", "cornmeal", "corn on the cob", "meal") die Zählung wäre 3.

InformationsquelleAutor der Frage LNA | 2011-10-16

Schreibe einen Kommentar