This function returns a ggplot object used to visualize quantiles comparing distributions of two samples.
qqplot_small_test(P, Q, sample1, sample2)
A ggplot object. Q-Q plot with continuity correction. Quantiles from one sample on the horizontal axis and corresponding quantiles from the other sample on the vertical axis.
A numeric vector from one sample.
A numeric vector from the other sample.
A character to denote sample name of one distribution P
generated from.
A character to denote sample name of the other distribution Q
generated from.
This is a function for quantile-quantile plot comparing comparing samples from two discrete distributions after continuity correction and linear interpolation