Questions tagged [qdap]

qdap (Quantitative Discourse Analysis Package) is an R package designed to assist in quantitative discourse analysis. The package stands as a bridge between qualitative transcripts of dialogue and statistical analysis & visualization.

110 questions
0
votes
1 answer

R: "Variables names limited to" error in "lookup" function, qdap

Searched heavily and couldn't find a response. I'm struggling with the "lookup" function in the qdap library. I have a list of city names in data frame CityCountry; here's the code and str: CityCountry <- data.frame(City =…
cavaunpeu
  • 614
  • 1
  • 6
  • 16
0
votes
1 answer

Merge duplicates and assign value of highest frequency (except neutrals!) in R

i posted a very similar question but i need to change conditions. i have a data.frame full with multiple entries. the columns are "no", "article", and "class" ("p"=positive, "n"=negative, "x"=neutral). it looks like this: no <- c(3, 3, 5, 5, 5, 24,…
cptn
  • 693
  • 2
  • 8
  • 28
-1
votes
1 answer

r lookup function returning negative dates

I am new to R. I have a table with some missing data that I would like to update from a reference table. Sample data table: df1=data.frame(id=c(1:5),dob=as.Date(c("1/1/2001" …
user2909302
  • 103
  • 8
-1
votes
2 answers

How would I turn a multivalue string into a usable frequency table in R?

I have a field in a data frame called plugins_Apache_module it contains strings like: c("mod_perl/1.99_16,mod_python/3.1.3,mod_ssl/2.0.52", "mod_auth_passthrough/2.1,mod_bwlimited/1.4,mod_ssl/2.2.23", "mod_ssl/2.2.9") I need a frequency…
EarlyPoster
  • 1,068
  • 1
  • 11
  • 27
-3
votes
1 answer

Count number of times a word appears in each row and store in new column (dplyr)

I have a character vector containing basically paragraphs of words. I would like to count the number of times a specific word appears in each row separately and then create a new vector to hold this number. How can I achieve this with dplyr? (Any…
1 2 3 4 5 6 7
8