ITPimage: Plot of the Interval Testing Procedure results

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

View source: R/ITPimage.R

Description

Plotting function creating a graphical output of the ITP: the p-value heat-map, the plot of the corrected p-values, and the plot of the functional data.

Usage

1
ITPimage(ITP.result, alpha = 0.05, abscissa.range = c(0, 1), nlevel = 20)

Arguments

ITP.result

Results of the ITP, as created by ITP1bspline, ITP1fourier, ITP2bspline, ITP2fourier, and ITP2pafourier.

alpha

Level of the hypothesis test. The default is alpha=0.05.

abscissa.range

Range of the plot abscissa. The default is c(0,1).

nlevel

Number of desired color levels for the p-value heatmap. The default is nlevel=20.

Value

No value returned. The function produces a graphical output of the ITP results: the p-value heatmap, a plot of the corrected p-values and the plot of the functional data. The basis components selected as significant by the test at level alpha are highlighted in the plot of the corrected p-values by a gray area.

Author(s)

Alessia pini, Simone Vantini

References

A. Pini and S. Vantini (2013). The Interval Testing Procedure: Inference for Functional Data Controlling the Family Wise Error Rate on Intervals. MOX-report 13/2013, Politecnico di Milano.

See Also

See plot.ITP1, plot.ITP2, plot.ITPlm, and plot.ITPaov for the plot method applied to the ITP results of one- and two-population tests, linear models, and ANOVA, respectively.

See also ITP1bspline, ITP1fourier, ITP2bspline, ITP2fourier, and ITP2pafourier for applying the ITP.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Importing the NASA temperatures data set
data(NASAtemp)

# Performing the ITP for two populations with the B-spline basis
ITP.result <- ITP2bspline(NASAtemp$milan,NASAtemp$paris,nknots=20,B=1000)

# Plotting the results of the ITP
ITPimage(ITP.result,abscissa.range=c(0,12))

# Selecting the significant components for the radius at 5% level
which(ITP.result$corrected.pval < 0.05)

fdatest documentation built on May 29, 2017, 1:40 p.m.