Learn R Programming

fANCOVA (version 0.5-1)

plot.fANCOVA: Plot a fANCOVA Object

Description

To plot a fANCOVA object

Usage

plot.fANCOVA(x, test.statistic = TRUE, main = "", n = 256, 
		legend.position = "topright", ...)

Arguments

x

a fANCOVA object

test.statistic

if TRUE, plot the density of the test statistic under null hypothesis; if FALSE, plot the estimated curves.

main

the title of the plot

n

the number of points that are used to draw the curves or surfaces in the plot.

legend.position

the position of legend in the plot: ``topright'', ``topleft'', ``bottomright'', ``bottomleft'', etc.

control parameters of the plot function

Details

This function is to plot a fANCOVA object. The plot will be generated only if the predictor x is one-dimensional. if ``test.statistic=TRUE'', a density plot of the test statistic under null hypothesis will be generated; if ``test.statistic=FALSE'', the estimated curves for all groups are drawn.

See Also

T.L2, T.aov, T.var.