plot.fANCOVA {fANCOVA} | R Documentation |
Plot a fANCOVA Object
Description
To plot a fANCOVA object
Usage
## S3 method for class 'fANCOVA'
plot(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.
Author(s)
X.F. Wang wangx6@ccf.org
See Also
[Package fANCOVA version 0.6-1 Index]