Last data update: 2014.03.03

R: Graphics Multiple Factors Analysis (MFA)
Plot.MFAR Documentation

Graphics Multiple Factors Analysis (MFA)

Description

Graphics Multiple Factors Analysis (MFA).

Usage

Plot.MFA(MFA,Titles = matrix(NA,1,3), PosLeg = 2, BoxLeg = "s", Color = "s", NamArr = "n")

Arguments

MFA

Data of the function MFA.

Titles

Titles for the plots. If it is not defined, it takes on standard text.

PosLeg

1 for caption on the left upper corner;
2 for caption on the right upper corner - default;
3 for caption on the right lower corner;
4 for caption on the left lower corner.

BoxLeg

"s" to place frame on the caption - default;
"n" does not place frame on the caption.

Color

"s" for colored plots - default;
"n" for black and white plots.

NamArr

"s" "s" to put point names in the cloud around the centroid on the plot correspondent to the global analysis of the individuals and variables;
"n" Otherwise - default.

Value

Returns several plots.

Author(s)

Paulo Cesar Ossani

Marcelo Angelo Cirillo

See Also

MFA

Examples

data(DataMix) # set of mixed data of the cooperatives

Matriz = DataMix[,2:ncol(DataMix)] 

rownames(Matriz) <- as.character(t(DataMix[1:nrow(DataMix),1]))

GroupNames = c("Notes Coffee / Work","Training / Dedication","Coffee")
           
MF <- MFA(Matriz, c(2,2,2), TipoGrupo = c("n","c","f"), GroupNames) # performs MFA

Titulos = c("Cooperatives/Tasters", "Cooperatives/Tasters and Variables",
             "Inertia of the groups of variables")
                   
Plot.MFA(MF, Titulos, 2, "n", "s", "n") # several screen plots

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(MFAg)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/MFAg/Plot.MFA.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Plot.MFA
> ### Title: Graphics Multiple Factors Analysis (MFA)
> ### Aliases: Plot.MFA
> ### Keywords: Multiple Factors Analysis MFA MFACT
> 
> ### ** Examples
> 
> data(DataMix) # set of mixed data of the cooperatives
> 
> Matriz = DataMix[,2:ncol(DataMix)] 
> 
> rownames(Matriz) <- as.character(t(DataMix[1:nrow(DataMix),1]))
> 
> GroupNames = c("Notes Coffee / Work","Training / Dedication","Coffee")
>            
> MF <- MFA(Matriz, c(2,2,2), TipoGrupo = c("n","c","f"), GroupNames) # performs MFA
> 
> Titulos = c("Cooperatives/Tasters", "Cooperatives/Tasters and Variables",
+              "Inertia of the groups of variables")
>                    
> Plot.MFA(MF, Titulos, 2, "n", "s", "n") # several screen plots
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>