Exports the positive-correlation topic network as an igraph object (stm
issue #242), with topic prevalence and FREX labels as vertex attributes and
the positive correlations as edge weights — ready for igraph/ggraph layouts.
Arguments
- x
A
faSTM_topiccorr(fromtopicCorr()) or a faSTM fit.- model
The fit, if
xis a bare correlation object (for vertex prevalence/labels).- nlabel
Top FREX words per topic for the vertex label.