object_pronoun_type(text.var, grouping.var = NULL, object.pronoun.list = NULL, ...)
NULL
generates
one word list for all text. Also takes a single grouping variable or a list
of 1 or more grouping variables.termco
Returns a list, of class "object_pronoun_type", of data frames regarding objectpronoun word counts: preprocessedList of uncollapsed dataframes (raw, prop, rnp) of the class "termco" that contain all searchable object pronouns. rawraw word counts by grouping variable propproportional word counts by grouping variable; proportional to each individual's object pronoun use rnpa character combination data frame of raw and proportional object pronoun use
Count the number of object pronouns per grouping variables.
The following object pronoun categories are the default searched terms:
## <strong>Not run</strong>: # dat <- pres_debates2012 # dat <- dat[dat$person %in% qcv(ROMNEY, OBAMA), ] # (out <- object_pronoun_type(dat$dialogue, dat$person)) # plot(out) # plot(out, 2) # plot(out, 3) # plot(out, 3, ncol=2) # # scores(out) # counts(out) # proportions(out) # preprocessed(out) # # plot(scores(out)) # plot(counts(out)) # plot(proportions(out)) # ## <strong>End(Not run)</strong>
subject_pronoun_type
,
pronoun_type