ggnorm: 'qqplot' with normal 'qqline'

Description Usage Arguments Value Author(s) Examples

View source: R/autoplot.R

Description

Plot the quantile-quantile plot and quantile-quantile line using ggplot.

Usage

1
ggnorm(y, title = NULL, add.normal = TRUE)

Arguments

y

a numeric vector or an object of the ts class containing a stationary time series.

title

a string with the plot's title.

add.normal

Add a normal density function for comparison.

Value

None. Function produces a ggplot2 graph.

Author(s)

Asael Alonzo Matamoros

Examples

1
2
x = rnorm(100)
ggnorm(x)

bayesforecast documentation built on June 17, 2021, 5:14 p.m.