rainbow (version 3.6)

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)

Value

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

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.

Author

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

Details

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

See Also

fds

Examples

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

Run the code above in your browser using DataCamp Workspace