Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summaryfunction

Summary statistics for functional data


Description

Display summary statistics (minimum, 1st quantile, median, mean, 3rd quantile, maximum) and quantiles of functional data

Usage

summaryfunction(ftsdata, plot.type = c("summarystats", "quantilestats"),
 quantilepercent = seq(0.1, 0.9, by = 0.1), plot.legend = FALSE, 
  legendpos = "topright", cex = 0.9, lwd = 1, lty = 1, ncol = 2)

Arguments

ftsdata

An object of class fds.

plot.type

Summary statistics or quantiles.

quantilepercent

Percentage of quantiles.

plot.legend

Is the legend required in the plot?

legendpos

When the plot.legend = TRUE, position of the legend.

cex

When the plot.legend = TRUE, point size.

lwd

When the plot.legend = TRUE, width of line.

lty

When the plot.legend = TRUE, line type.

ncol

When the plot.legend = TRUE, number of columns in the legend.

Details

A function for displaying summary statistics or quantiles of functional data.

Value

Return a plot of summary statistics of functional data or a plot of quantiles of functional data.

Author(s)

Han Lin Shang. Please, report bugs and suggestions to hanlin.shang@anu.edu.au

See Also

Examples

summaryfunction(Australiasmoothfertility, plot.type = "summarystats")
summaryfunction(Australiasmoothfertility, plot.type = "quantilestats", plot.legend = TRUE)

rainbow

Bagplots, Boxplots and Rainbow Plots for Functional Data

v3.6
GPL-3
Authors
Han Lin Shang [aut, cre, cph] (<https://orcid.org/0000-0003-1769-6430>), Rob Hyndman [aut] (<https://orcid.org/0000-0002-2140-5352>)
Initial release
2019-1-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.