termCoocDlg {RcmdrPlugin.temis}R Documentation

Show co-occurrent terms

Description

Show terms that are the most associated with one or several reference terms.

Details

This dialog allows printing the terms that are most associated with one or several given terms, according to the document-term matrix of the corpus. Co-occurrent terms are those which are specific to documents which contain the given term(s). The output is the same as that returned by the “Terms specific of levels...” dialog (see specificTermsDlg), using a dummy variable indicating whether the term is present or not in each document.

When a variable is selected, the operation is run separately on each sub-matrix constituted by the documents that are members of the variable level. If the term does not appear in a level, NA is returned.

When several terms are entered, the operation is simply run several times separately.

The result is either a matrix (when variable = NULL) or a list of matrices, one for each level of the chosen variable, with seven columns:

“% Term/Cooc.”:

the percent of the term's occurrences in all terms occurrences in documents where the chosen term is also present.

“% Cooc./Term”:

the percent of the term's occurrences that appear in documents where the chosen term is also present (rather than in documents where it does not appear), i.e. the percent of cooccurrences for the term.

“Global %” or “Level %”:

the percent of the term's occurrences in all terms occurrences in the corpus (or in the subset of the corpus corresponding to the variable level).

“Cooc.”:

the number of cooccurrences of the term.

“Global” or “Level”:

the number of occurrences of the term in the corpus (or in the subset of the corpus corresponding to the variable level).

“t value”:

the quantile of a normal distribution corresponding the probability “Prob.”.

“Prob.”:

the probability of observing such an extreme (high or low) number of occurrences of the term in documents where the chosen term is also present, under an hypergeometric distribution.

See Also

specificTermsDlg, DocumentTermMatrix, restrictTermsDlg, termsDictionary, freqTermsDlg


[Package RcmdrPlugin.temis version 0.7.10 Index]