qq_vase_plot: Interactive QQ Vase Plot

Description Usage Arguments Value Examples

View source: R/qqslider.R

Description

This function displays animated normal quantile-quantile plots. The software uses Shiny to open a window in the default installed web browser. Graphical controls in that window manipulate the construction of normal quantile plots. The display shows QQ plots for comparing either population distributions or samples of a chosen size. When samples are shown, the plot includes approximate 95

Usage

1
2
qq_vase_plot(draw.samples = TRUE, dists = make_df_list(), step = 0.05,
  breaks = "FD")

Arguments

draw.samples

Set to true to allow optional samples from distributions

dists

Named list of (d=density, q=quantile, r=sample) distributions (see make_df_list())

step

Stepsize used for animated slider (use larger values if animating with play button)

breaks

Passed to R histogram program to control number of bins in empirical distribution

Value

None

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
# default
qq_vase_plot()

# suppress sampling option
qq_vase_plot(FALSE)

# add uniform distribution to dialog
dists <- make_df_list()
dists[["uniform"]] <- list(d=dunif, q=qunif, r=runif)
qq_vase_plot(TRUE, dists)

# smaller increments, change the method that determines breaks in histogram
qq_vase_plot(TRUE, step=0.01, breaks=function(x) 2*sqrt(length(x)))

## End(Not run)

qqvases documentation built on May 19, 2017, 10:58 a.m.

Search within the qqvases package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.