Is there a function for counting the number of times a particular keyword is contained in a dataset?
For example, if dataset <- c(\"corn\", \"cornmeal\", \"
dataset <- c(\"corn\", \"cornmeal\", \"
You can also do something like the following:
length(dataset[which(dataset=="corn")])