S3 methods for lba objects.
It's possible two types of visualisation: the lba type, suggested by van der Ark (1999) and correspondence analysis suggested by Jelihovschi (2011).
Usage
## S3 method for class 'lba'
plot(x,
budget.prop = TRUE,
col.points = NULL,
col.lines = NULL,# only to K = 2
col.budget = NULL,
pch.points = NULL,
pch.budget = NULL,
lty.lines = NULL,# only to K = 2
lty.budget = NULL,
lwd.lines = NULL,# only to K = 2
lwd.budget = NULL,
legend = TRUE,
with.ml = c('mix','lat'),
type =c("lba","corr"),
...)
Arguments
x
A object of lba class.
budget.prop
A line representing the budget proportion. The default is TRUE.
col.points
A vector of colours representing the mixing parameters and latent components. The default is NULL.
col.lines
A vector of colours representing the mixing parameters and latent components. Only to K = 2. The default is NULL.
col.budget
A vector of colour representing the budget proportion. The default is NULL.
pch.points
A vector of plotting characters or symbols representing the mixing parameters and latent components. The default is NULL.
pch.budget
A vector of plotting characters or symbols representing the budget proportion. The default is NULL.
lty.lines
A vector of line types representing the mixing parameters and latent components. Only to K = 2. The default is NULL.
lty.budget
A vector of line types representing the budget proportion. The default is NULL.
lwd.lines
A vector of line width representing the mixing parameters and latent components. The default is NULL.
lwd.budget
A vector of line width representing the budget proportion. The default is NULL.
legend
A logical indicating whether a legend should be included. The default is NULL.
with.ml
What's parameters do you like to plot? The default is mixing parameters ('mix').
type
The type of options graphical. The default is 'lba'. See details.
...
Optional plotting parameters.
Details
Plot.lba plots two types of graphics. The first, (type = 'lba'), is the one suggested at de Leeuw et all (1990) and at van der Ark (1999) thesis. In this type, it is only possible the graphical views for K = 2 and K = 3. When K = 2, the heads of the latent budgets are be connected by a (one dimensional) line segment. When K = 3, the heads of the latent budgets are the vertices of a triangle, and the plot is made with help of triax.plot function of plotrix package. In the second type, plot.ca, suggested at Jelihovschi et all (2011), the graphical display is made by making use of correspondence analysis graphics of the mixing parameters and latent components matrices. This is done with the function ca of ca package. In this case, a graphic display is possible for K >= 3.