struct_pageview: Colours a ggpage based on an insight function

Description Usage Arguments Value

View source: R/page-view.R

Description

Colours a ggpage based on an insight function

Usage

1
struct_pageview(.data, col_name, num_terms, term_index, word_size, palette)

Arguments

.data

a dataframe containing "word" and insight columns as per the output of the get_(term|aggregate)_insight wrapper function

col_name

symbol name of the insight column intended to colour plot

num_terms

the number of terms to visualise

term_index

which term to start the visualisation from

word_size

integer size of words

palette

determine coloration of palette (not yet implemented)

Value

ggplot object as per ggpage


jcai849/iNZightTA documentation built on Dec. 2, 2020, 6:59 a.m.