Plot.MFA {MVar} | R Documentation |
Graphics of the Multiple Factor Analysis (MFA).
Plot.MFA(MFA, titles = NA, xlabel = NA, ylabel = NA, posleg = 2, boxleg = TRUE, size = 1.1, grid = TRUE, color = TRUE, namarr = FALSE, linlab = NA, casc = TRUE)
MFA |
Data of the MFA function. |
titles |
Titles of the graphics, if not set, assumes the default text. |
xlabel |
Names the X axis, if not set, assumes the default text. |
ylabel |
Names the Y axis, if not set, assumes the default text. |
posleg |
1 for caption in the left upper corner, |
boxleg |
Puts frame in legend (default = TRUE). |
size |
Size of the points in the graphs. |
grid |
Put grid on graphs (default = TRUE). |
color |
Colored graphics (default = TRUE). |
namarr |
Puts the points names in the cloud around the centroid in the graph corresponding to the global analysis of the Individuals and Variables (default = FALSE). |
linlab |
Vector with the labels for the observations, if not set, assumes the default text. |
casc |
Cascade effect in the presentation of the graphics (default = TRUE). |
Returns several graphs.
Paulo Cesar Ossani
Marcelo Angelo Cirillo
data(DataMix) # set of mixed data Data <- DataMix[,2:ncol(DataMix)] rownames(Data) <- DataMix[1:nrow(DataMix),1] GroupNames = c("Grade Cafes/Work", "Formation/Dedication", "Coffees") MF <- MFA(Data, c(2,2,2), typegroups = c("n","c","f"), GroupNames) # performs MFA Tit = c("Scree-Plot","Observations","Observations/Variables","Inertia of the Variable Groups") Plot.MFA(MF, titles = Tit, xlabel = NA, ylabel = NA, posleg = 2, boxleg = FALSE, color = TRUE, namarr = FALSE, linlab = NA, casc = FALSE) # plotting several graphs on the screen Plot.MFA(MF, titles = Tit, xlabel = NA, ylabel = NA, posleg = 2, boxleg = FALSE, color = TRUE, namarr = FALSE, linlab = rep("A?",10), casc = FALSE) # plotting several graphs on the screen