qqplot: QQ Plot Generic Function

View source: R/plot_qq.R

qqplotR Documentation

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, ...)

## Default S3 method:
qqplot(x, ...)

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

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.

Value

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

qqplot.dfts: ggplot2 for QQ plot.

See Also

stats::qqplot()

Examples

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

fChange documentation built on June 21, 2025, 9:08 a.m.