Description Usage Arguments Details Value Examples
Create a time series line plot of words associated with a specified keyword. Words are associated down to the defined correlation limit. Terms must be a character vector containing no spaces.
1 | word.Assocs(data.td, term, corlimit)
|
data.td |
A tidy dataset |
term |
A user defined term, or vector of terms. |
corlimit |
A user defined numeric correlation limit between 0 and 1 |
This function first identifies each document which contains the user
specified keyword
and omits all those which do not. The function
next finds all words correlated with the user specified keyword
down
to the user defined correlation limit (corlimit
). With the
correlated words now identified, the function identifies dates listed in
the date column and sums the number of documents associated with the
identified keyword
and all other correlated words, generating a line
plot to represent the findings for each. These line plots are then layered
on top of each other for comparison purposes. This output is useful in
highlighting increases in document production for correlated terms in
reference to a specific word. It illustrates how different words are used
more/less over the course of time.
Time series line plot of words associated with term
1 2 3 |
word.Assocs(Articles, "hurricane", .6)
word.Assocs(Articles, c("hurricane","tornado"), .75)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.