
Last chance! 50% off unlimited learning
Sale ends in
performs high level plots of a Partial Triadic Analysis,
using an object of class pta
.
# S3 method for pta
kplot(object, xax = 1, yax = 2, which.tab = 1:nrow(object$RV),
mfrow = NULL, which.graph = 1:4, clab = 1, cpoint = 2, csub = 2,
possub = "bottomright", ask = par("ask"), ...)
an object of class pta
the numbers of the x-axis and the y-axis
a numeric vector containing the numbers of the tables to analyse
parameter of the array of figures to be drawn, otherwise the graphs associated to a table are drawn on the same row
an option for drawing, an integer between 1 and 4. For each table of which.tab, are drawn :
the projections of the principal axes
the projections of the rows
the projections of the columns
the projections of the principal components onto the planes of the compromise
a character size for the labels
a character size for plotting the points, used with par("cex")
*cpoint. If zero, no points are drawn.
a character size for the sub-titles, used with par("cex")*csub
a string of characters indicating the sub-title position ("topleft", "topright", "bottomleft", "bottomright")
a logical value indicating if the graphs requires several arrays of figures
further arguments passed to or from other methods
# NOT RUN {
data(meaudret)
wit1 <- wca(dudi.pca(meaudret$spe, scan = FALSE, scal = FALSE),
meaudret$design$season, scan = FALSE)
kta1 <- ktab.within(wit1, colnames = rep(c("S1", "S2", "S3", "S4", "S5"), 4))
kta2 <- t(kta1)
pta1 <- pta(kta2, scann = FALSE)
kplot(pta1)
kplot(pta1, which.graph = 3)
# }
Run the code above in your browser using DataLab