Learn R Programming

Xplortext (version 1.00)

LabelTree: Hierarchical words (LabelTree)

Description

Extracts the hierarchical characteristic words associated to the nodes of a chronological hierarchical tree; the characteristic words of each node are extracted, then each word is associated to the node that it best characterizes.

Usage

LabelTree(object, proba=0.05)

Arguments

object
object of LexCHCca class
proba
threshold on the p-value when the characteristic words are computed (by default 0.05)

Value

Returns a list including:

hierWord
list of the characteristic words associated to the nodes of a chronological constrained hierarchical tree; only the non-empty nodes are included

References

B<e9>cue-Bertaut, M., Kostov, B., Morin, A., & Naro, G. (2014). Rhetorical Strategy in Forensic Speeches: Multidimensional Statistics-Based Methodology. Journal of Classification,31,85--106.

Lebart, L., Salem, A., & Berry, L. (1998). Exploring textual data. (D. Kluwer, Ed.).

See Also

LexHCca, LexCA

Examples

Run this code
data(open.question)
res.TD<-TextData(open.question,var.text=c(9,10), var.agg="Age_Group", Fmin=10, Dmin=10,
        stop.word.tm=TRUE)
res.LexCA<-LexCA(res.TD, graph=FALSE)
res.CHCca<-LexCHCca(res.LexCA, nb.clust=4, min=3)
res<-LabelTree(res.CHCca)

Run the code above in your browser using DataLab