search for: wordcount1

Displaying 1 result from an estimated 1 matches for "wordcount1".

Did you mean: wordcount
2006 Aug 18
1
using R to perform a word count - syntax refinement and incorrect number of dimensions error
...x. I am wanting to calculate the word count for each row of a dataframe. Below, I have 3 variables ("V3.PD", "V3.HD", "V3.LP") which I want to obtain a word count for, by each row which contains these variables. Any assistance is much appreciated, Bob Green > wordcount1 <- read.csv("c:\\newstext.csv",header=T) > attach(wordcount1) > names(wordcount1) [1] "X" "i" "V3.PD" "V3.PG" "V3.HD" "V3.BY" "V3.SN" "V3.LP" "V3.TD" > wc1 <-c("V3.PD&q...