summaryfunction {rainbow}R Documentation

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

fds

Examples

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

[Package rainbow version 3.8 Index]