🌐 English · Deutsch

Graphics: co-occurrence, network, portraits

New in version 0.9.0.

Three graphics help you see patterns in your coding. Open them with the toolbar button Graphics. Two settings at the top apply to all of them:

Setting Meaning
Together means: in the same segment (default) two codes count as "together" when both occur in the same segment, e.g. the same speaker turn
… in the same document both codes somewhere in the same document (coarse)
… codings overlap the two codings share text (strict)
Categories: every code and subcode strict: every subcode on its own
Categories: code families a code together with its subcodes (the portraits always show code families)
Graphics window: code co-occurrence as a heatmap

Code co-occurrence (heatmap)

A triangle of code × code cells. The darker a cell, the more often the two codes occur together; the number is in the cell. Hover a cell for the details, click it to list the passages underneath (with Show to jump there).

Typical questions: Which themes are talked about together? Does "Workload" come up together with "Leadership" or with "Family"? Do two subcodes always appear together (and should perhaps be merged)?

Code network

Code network

Every code is a circle (colour of its code family, size = how often it was used), a line connects two codes that occur together (thicker = more often). Click a line to list the passages.

Document portraits

Document portraits

Every document is a strip from its start (left) to its end (right). Every segment is a block as wide as its share of the text, in the colours of the codes it contains (several codes = stacked bands; grey = not coded). Click a block to jump to that passage.

You see at a glance where in the interviews a theme comes up (at the start, throughout, only at the end), how densely an interview is coded, and how interviews differ.

Saving and printing

As an R script

qda_cooccurrence()                           # pairs of codes, most frequent first
qda_cooccurrence(unit = "overlap", level = "top")
qda_cooccurrence_passages("Workload", "Leadership")
qda_portrait()                               # which codes in which segment

qda_plot_cooccurrence()                      # print() shows it in the RStudio Viewer
qda_plot_cooccurrence(measure = "jaccard", file = "cooccurrence.svg")
qda_plot_network(min_n = 3, layout = "force", file = "network.svg")
qda_plot_portrait(file = "portraits.svg")

The tables are ordinary tibbles, so you can also draw them with ggplot2. A complete example: demo/jellyqda-visuals-demo.R.


Back to the wiki home page · Previous: Intercoder agreement · Next: Evaluation & export