summaryfunction: Summary statistics for functional data

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/summaryfunction.R

Description

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

Usage

1
2
3
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 [email protected]

See Also

fds

Examples

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

rainbow documentation built on May 2, 2019, 3:30 p.m.