Statistical analysis of Topic Maps in R