Learn R Programming

fastqq (version 0.1.3)

qqplot: Creates a Q-Q plot

Description

Faster alternative to stats::qqplot(). For more than 1e5 points we remove excess points, that would not be visible in the plot, since the points are so close.

Usage

qqplot(
  x,
  y,
  plot.it = TRUE,
  xlab = deparse1(substitute(x)),
  ylab = deparse1(substitute(y)),
  ...
)

Value

list with sorted samples, interpolated to be same size.

Arguments

x

First sample for qqplot.

y

Second sample for qqplot.

plot.it

Should the plot be created.

xlab

x label for plot.

ylab

y label for plot.

...

Other arguments passed to plot()

Examples

Run this code
qqplot(stats::runif(1e6),stats::runif(1e6))

Run the code above in your browser using DataLab