View source: R/exp_plot_novelty.R
plot_novelty | R Documentation |
Novel codes are information that has not been previously mentioned by other interviewees. The trend of 'novel' interview codes provides insight into the richness of qualitative information.
This plot shows the trend of novel code generation; in the most basic way, the higher the number, the richer the information that has been generated in the study. By showing novel codes in context with any refinements to the questions, it also shows how that trend may have been affected by those refinements, and whether novel code generation is plateauing.
This chart alone should not be used to decide on a stopping point because it
does not show the richness of individual interviews; some interviews are richer
than others, therefore consider also using plot_richness()
to look at the
richness of each interview in terms of novel and duplicate codes.
plot_novelty(
score_df,
refinements = integer(0),
col = list(stroke = "black", fill_ref = "black", fill = "grey80")
)
score_df |
(Dataframe) A dataframe of scored codes, as generated by |
refinements |
Either a list object generated by |
col |
(List) A List containing named Character vectors. Accepted names are:
|
A ggplot object.
score_codes()
, import_field_notes()
, plot_richness()
, save_last_plot()
# Field notes and coding matrices included with the package
path_to_notes <- system.file("insect_study/records/refinements.xlsx", package = "novelqualcodes")
path_to_matrices <- system.file("insect_study/matrices/", package = "novelqualcodes")
# Import the data
my_refinements <- import_field_notes(path_to_notes)
my_matrices <- import_coding_matrices(path_to_matrices)
# Score novel and duplicate codes
my_scores <- score_codes(my_matrices)
# Generate a plot with no refinements
plot_novelty(score_df = my_scores)
# Generate a plot using scored codes and imported refinements
plot_novelty(score_df = my_scores, refinements = my_refinements)
# Generate a plot using scored codes and a vector of refinement times
plot_novelty(score_df = my_scores, refinements = c(4, 8, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.