plot {kergp} | R Documentation |
Plot for a qualitative input
Description
Plots of the covariance matrix or the correlation matrix of a qualitative input. For an ordinal factor, the warping function can also be plotted.
Usage
## S4 method for signature 'covQual'
plot(x, y, type = c("cov", "cor", "warping"), ...)
Arguments
x |
An object of class |
y |
Not used. |
type |
A character indicating the desired type of plot. Type |
... |
Other arguments passed to |
Details
Covariance / correlation plots are done with package corrplot
if loaded, or lattice
else.
See Also
Examples
u <- ordered(1:6, levels = letters[1:6])
myCov2 <- covOrd(ordered = u, k1Fun1 = k1Fun1Cos, warpFun = "norm")
coef(myCov2) <- c(mean = 0.5, sd = 0.05, theta = 0.1)
plot(myCov2, type = "cor", method = "ellipse")
plot(myCov2, type = "warp", col = "blue", lwd = 2)
[Package kergp version 0.5.7 Index]