getInsights: Determine the Top-N Keywords Per Cluster

Description Usage Arguments Value

View source: R/getInsights.R

Description

Determine the Top-N Keywords Per Cluster

Usage

1
getInsights(cluster, vocab, n, plot = FALSE, file = NULL)

Arguments

cluster

Data from one of the clusters.

vocab

Column names, like vocabulary, websites. Vocab should be one to one with column indices.

n

Top n features you would like to see.

plot

Logical. To produce plot in addition to outputting top-n keywords and maginitudes.

file

Filepath and PNG file name. Note: plot must be set to TRUE to save a file.

Value

Barchart of the top-n influential keywords in the cluster.


CAMCOS/camcos2017 documentation built on May 6, 2019, 9:23 a.m.