ggnorm {nortsTest}R 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)


[Package nortsTest version 1.1.2 Index]