density_plot: Plot density of TRUE/FALSE distributions
Description
Plot density of TRUE/FALSE distributions
Usage
density_plot(dataset, q = NULL)
Value
A ggplot2 plot with the density distributions for the scores for TRUE (typically, 'same-author') vs. FALSE (typically, 'different-author').
Arguments
dataset
A data frame containing the calibration dataset, typically the output of an authorship analysis function like impostors().
q
This optional argument should be one value or a vector of values that contain the score of the disputed text(s). These are then plotted as lines crossing the density distributions.