Description Usage Arguments Value References See Also Examples
dc_negator
- Extract negator discourse connectors in context.
dc_negator_sub
- Extract negator discourse connectors in context typified as
words, prefix, or contractions (not type).
1 2 3 4 5 6 7 |
text.var |
The text variable. |
grouping.var |
The grouping variables. Also takes a single grouping variable or a list of 1 or more grouping variables. |
n.before |
The number of rows before the indexed occurrence. |
tot |
logical. If |
n.after |
The number of rows after the indexed occurrence. |
ord.inds |
logical. If |
markup |
A character vector of length two indicating the left (element
1) and right (element 2) boundary markers to use to highlight the negator
discourse connectors. Use |
name |
A string indicating the name to search for within the internal data sets, typically the function's name. Generally, for internal use. |
... |
Other arguments passed to |
dc_negator
- Returns returns a list of 2:
counts |
A |
negative_words |
A |
dc_negator_sub
- Returns returns a list of 4:
counts |
A |
negative_words |
A |
negative_prefix |
A |
negative_contractions |
A |
Ryan, G. W. & Bernard, H. R. (2003). Techniques to identify themes. Field Methods. 15(1), 85-109. doi: 10.1177/1525822X02239569
1 2 3 4 5 6 7 8 9 10 11 | with(pres_debates2012[1:200, ], dc_negator(dialogue, person))
out <- with(pres_debates2012[1:200, ], dc_negator_sub(dialogue, person))
out[1]
out[2]
out[3]
out[4]
plot(out)
## Save externally use .doc or .txt
## print(out[[3]], file="negator_prefix.doc")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.