plot.cint {mixreg} | R Documentation |
Plots confidence and prediction intervals, corresponding to each component of a Gaussian scalar mixture model.
## S3 method for class 'cint' plot(x, cints=TRUE, pints=TRUE,rugged=TRUE, type=c("both","upper","lower"),...)
x |
An object of class |
cints |
Logical scalar; should the confidence intervals be plotted? |
pints |
Logical scalar; should the prediction intervals be plotted? |
rugged |
Logical scalar. Should a “rug” be added to the plot,
displaying the values of the variable to which the model was
fitted? See |
type |
Character string specifying whether the intervals plotted should be
two-sided ( |
... |
Optional extra arguments for |
This function is a method for plot. Note that a simple plot
of the fit may be produced by calling plot(object)
where
object
is an object of class "mixreg"
and the x
argument of this function was produced by applying cband()
to this object.
None. This function is called for its side effect of producing a plot.
Rolf Turner r.turner@auckland.ac.nz
cband()
, plot.cband()
,
plot.mixreg()
, plot.mixresid()
,
qqMix()
, residuals.mixreg()
fit <- mixreg(plntsInf~1,ncomp=2,seed=42,covMat=TRUE,data=aphids) cis <- cband(fit) # *Could* call cint(fit) directly plot(cis) plot(cis,pintss=FALSE) plot(cis,pintss=FALSE,type="u")