Hello, I have the following problem.
I have a large matrix called cleantable7. Now I am running the following for loop:
#Loop with phonetic
for (row in 1:nrow(cleantable7))
codephon = phonetic(cleantable7[row,], method = c("soundex"), useBytes = FALSE)
codephon2 = codephon[!duplicated(codephon)]
Now I want all of the output generated from print(codephon2) to be filled in a matrix.