- tokens
A data.frame with a column for document ids (doc_col)
and a column for tokens (token_col)
- meta
A data.frame with a column for document_ids (doc_col). All other columns are added
to the browser as document meta
- doc_col
The name of the document id column
- token_col
The name of the token column
- space_col
Optionally, a column with space indications (" ", "\n", etc.) per token (which is how some NLP parsers indicate spaces)
- doc_nav
The name of a column (factor or character) in meta, used to create a navigation bar for selecting document groups.
- token_nav
Alternative to doc_nav, a column in the tokens. Navigation filters will then be used to select documents in which
the value occurs at least once.
- filename
Name of the output file. Default is temp file
- css_str
A character string, to be directly added to the css style header
- header
Optionally, specify the header
- subheader
Optionally, specify a subheader
- n
If TRUE, report N in header
- navfilter
If TRUE (default) enable filtering with nav(igation) bar.
- top_nav
A number. If token_nav is used, navigation filters will only apply to the top x values with highest token occurence in a document
- thres_nav
Like top_nav, but specifying a threshold for the minimum number of tokens.
- colors
Optionally, a vector with color names for the navigation bar. Length has to be identical to
unique non-NA items in the navigation.
- style_col1
Color of the browser header
- style_col2
Color of the browser background
- drop_missing_meta
if TRUE, omit missing meta rows instead of printing empty value