plot.polyclass  R Documentation 
Probability or classification plots for a polyclass
model.
## S3 method for class 'polyclass'
plot(x, cov, which, lims, what, data, n, xlab="", ylab="",
zlab="", ...)
x 

cov 
a vector of length 
which 
for which covariates should the plot be made.
Number or a character string defining the name, if the
same names were used with the call to 
lims 
plotting limits. If omitted, the plot is made over the same range
of the covariate as in the original data. Otherwise a vector of
length two of the form 
what 
an integer between 1 and 8, defining the type of plot to be made.

data 
Class for which the plot is made. Should be provided if 
n 
the number of equally spaced points at which to plot the fit. The
default is 250 if 
xlab,ylab,zlab 
axis plotting labels. 
... 
all other options are passed on. 
Charles Kooperberg clk@fredhutch.org.
Charles Kooperberg, Smarajit Bose, and Charles J. Stone (1997). Polychotomous regression. Journal of the American Statistical Association, 92, 117–127.
Charles J. Stone, Mark Hansen, Charles Kooperberg, and Young K. Truong. The use of polynomial splines and their tensor products in extended linear modeling (with discussion) (1997). Annals of Statistics, 25, 1371–1470.
polyclass
,
summary.polyclass
,
beta.polyclass
,
cpolyclass
,
ppolyclass
,
rpolyclass
.
data(iris)
fit.iris < polyclass(iris[,5], iris[,1:4])
plot(fit.iris, iris[64,1:4], which=c(3,4), data=2, what=1)
plot(fit.iris,iris[64,1:4], which=c(3,4), what=5)
plot(fit.iris,iris[64,1:4], which=4, what=7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.