reshape_for_plots {novelqualcodes}R Documentation

Reshape score matrix for ggplot2.

Description

Manually reshapes the data into Long format and adds a refinement group factor.

Usage

reshape_for_plots(score_df, refinements = integer(0))

Arguments

score_df

(Dataframe) A scored code matrix as generated by score_codes().

refinements

Either a list object generated by import_field_notes(), or an Integer vector that lists when (in terms of interview sequence) refinements were made to the interview questions. For example, c(10, 15) means that interview questions were revised twice: First before the 10th interview, and then again before the 15th interview.

Value

A dataframe.


[Package novelqualcodes version 0.13.1 Index]