quanteda / quanteda.textplots

Plotting and visualisation for quanteda
GNU General Public License v3.0
6 stars 1 forks source link

What should textplot_network() do with asymmetric fcm? #4

Open koheiw opened 5 years ago

koheiw commented 5 years ago

In relation to quanteda/quanteda#1461, we haven't defined how to deal with an asymmetric fcm. Probably, the lower triangle is ignored in the conversion:
https://github.com/quanteda/quanteda/blob/fe6af954ad31ea9e47b8baacc95a9dd9c8468ca7/R/textplot_network.R#L153-L154 I should warn users or raise error when a fcm is asymmetric.

kbenoit commented 5 years ago

This will probably not arise often, because few users will set ordered = TRUE if they are looking to produce network plots. However if they do, I think a warning is appropriate.