ggnorm: 'qqplot' with normal 'qqline'

View source: R/autoplot.R

ggnormR Documentation

qqplot with normal qqline

Description

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

Usage

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.

Author(s)

Asael Alonzo Matamoros

Examples

x = rnorm(100)
ggnorm(x)


asael697/nortstest documentation built on Feb. 1, 2024, 9:37 a.m.