
Last chance! 50% off unlimited learning
Sale ends in
Graphs of the Factorial Analysis (FA).
Plot.FA(FA, titles = NA, xlabel = NA, ylabel = NA, size = 1.1,
grid = TRUE, color = TRUE, linlab = NA, axes = TRUE, class = NA,
classcolor = NA, posleg = 2, boxleg = TRUE, savptc = FALSE,
width = 3236, height = 2000, res = 300, casc = TRUE)
Returns several graphs.
Data of the FA function.
Titles of the graphics, if not set, assumes the default text.
Names the X axis, if not set, assumes the default text.
Names the Y axis, if not set, assumes the default text.
Size of the points in the graphs.
Put grid on graphs (default = TRUE).
Colored graphics (default = TRUE).
Vector with the labels for the observations.
Plots the X and Y axes (default = TRUE).
Vector with names of data classes.
Vector with the colors of the classes.
0 with no caption,
1 for caption in the left upper corner,
2 for caption in the right upper corner (default),
3 for caption in the right lower corner,
4 for caption in the left lower corner.
Puts the frame in the caption (default = TRUE).
Saves graphics images to files (default = FALSE).
Graphics images width when savptc = TRUE (defaul = 3236).
Graphics images height when savptc = TRUE (default = 2000).
Nominal resolution in ppi of the graphics images when savptc = TRUE (default = 300).
Cascade effect in the presentation of the graphics (default = TRUE).
Paulo Cesar Ossani
Marcelo Angelo Cirillo
FA
data(iris) # conjunto de dados
data <- iris[,1:4]
cls <- iris[,5] # classe dos dados
res <- FA(data, method = "PC", type = 2, nfactor = 3)
tit <- c("Scree-plot","Scores of the Observations","Factorial Loadings","Biplot")
cls <- as.character(iris[,5])
Plot.FA(FA = res, titles = tit, xlabel = NA, ylabel = NA,
color = TRUE, linlab = NA, savptc = FALSE, size = 1.1,
posleg = 1, boxleg = FALSE, class = cls, axes = TRUE,
classcolor = c("blue3","red","goldenrod3"),
width = 3236, height = 2000, res = 300, casc = FALSE)
Run the code above in your browser using DataLab