qqplot_small_test {scpoisson}R Documentation

Q-Q plot comparing two samples with small discrete counts

Description

This function returns a ggplot object used to visualize quantiles comparing distributions of two samples.

Usage

qqplot_small_test(P, Q, sample1, sample2)

Arguments

P

A numeric vector from one sample.

Q

A numeric vector from the other sample.

sample1

A character to denote sample name of one distribution P generated from.

sample2

A character to denote sample name of the other distribution Q generated from.

Details

This is a function for quantile-quantile plot comparing comparing samples from two discrete distributions after continuity correction and linear interpolation

Value

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.


[Package scpoisson version 0.0.1 Index]