Displaying 1 result from an estimated 1 matches for "stem_freqs".
2011 Jun 09
2
Coercing Output from mget() into Proper Data Frame
...ir=stem_dict)
cnt <- cnt + freqs[i]
assign(stem,cnt,envir=stem_dict)
} else {
assign(stem, freq, envir=stem_dict)
uniq_stems <- append(uniq_stems, stem)
}
}
# return data frame of stems and their frequencies
stem_freqs_list <- mget(uniq_stems,stem_dict)
stem_freqs <- do.call(rbind,stem_freqs_list)
return(stem_freqs_list)
}