qqplot | R Documentation |
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.
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,
...
)
x |
A dfts object. See |
... |
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. |
qqplot.default: returns results from stats::qqplot()
.
qqplot.dfts: ggplot2 for QQ plot.
stats::qqplot()
result <- qqplot(electricity, d.max = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.