Learn R Programming

fChange (version 2.1.0)

qqplot: QQ Plot Generic Function

Description

A generic function which by produces a qq-plot of some data. By default, it uses stats::qqplot().

qqplot.dfts: Creates normal QQ plots on the principal components of functional data.

Usage

qqplot(x, ...)

# S3 method for default qqplot(x, ...)

# S3 method for dfts qqplot( x, TVE = 0.95, d.max = NULL, alpha = 0.05, changes = NULL, legend = FALSE, ... )

Value

qqplot.default: returns results from stats::qqplot().

qqplot.dfts: ggplot2 for QQ plot.

Arguments

x

A dfts object. See dfts().

...

Additional parameters based on the data.

TVE

Numeric in [0,1] giving the total variance explained for selecting the number of principal components.

d.max

Max number of principal components. No max when NULL.

alpha

Significance level, alpha in [0,1].

changes

Vector of change points.

legend

Boolean indicating if legend should be shown on plot.

See Also

Examples

Run this code
result <- qqplot(electricity, d.max = 3)

Run the code above in your browser using DataLab