Learn R Programming

qqvases (version 1.0.0)

qq_plot: Interactive QQ Plot

Description

This function uses Shiny to open the default web browser. Graphical controls manipulate the construction of an interactive normal QQ plot.

Usage

qq_plot(data, step = 0.05, breaks = "FD")

Arguments

data
Numerical data vector.
step
Stepsize used for Shiny slider (use larger values if animating with play button)
breaks
Passed to histogram for empirical distribution (default = "FD")

Value

None

Examples

Run this code
## Not run: 
# qq_plot(rnorm(50))
# 
# qq_plot(rnorm(50), step=0.05, breaks="Sturges")
# 
# if(require("MASS", quietly=TRUE)){ qq_plot(geyser$waiting) }
# ## End(Not run)

Run the code above in your browser using DataLab