mfa | R Documentation |
Multiple Factor Analysis
mfa(
data,
vars,
facs,
labels,
group = "2,5,3,10,9,2",
type = "n,s,s,s,s,s",
gn = "a,b,c,d,e,f",
eigen = TRUE,
colvar = "coordinates",
rowvar = "coordinates",
cg = FALSE,
ci = FALSE,
quanti = FALSE,
quanvar = "coordinates",
plot = FALSE,
plot1 = FALSE,
plot2 = FALSE,
plot3 = FALSE,
plot4 = FALSE,
plot5 = FALSE,
plot6 = FALSE,
plot7 = FALSE,
plot8 = FALSE,
angle = 0,
width = 500,
height = 500,
width1 = 500,
height1 = 500,
width2 = 500,
height2 = 500,
width3 = 500,
height3 = 500,
width4 = 500,
height4 = 500,
width5 = 500,
height5 = 500,
width6 = 500,
height6 = 500,
width7 = 500,
height7 = 500,
width8 = 500,
height8 = 500
)
data |
The data as a data frame. |
vars |
. |
facs |
. |
labels |
. |
group |
. |
type |
. |
gn |
. |
eigen |
. |
colvar |
. |
rowvar |
. |
cg |
. |
ci |
. |
quanti |
. |
quanvar |
. |
plot |
. |
plot1 |
. |
plot2 |
. |
plot3 |
. |
plot4 |
. |
plot5 |
. |
plot6 |
. |
plot7 |
. |
plot8 |
. |
angle |
. |
width |
. |
height |
. |
width1 |
. |
height1 |
. |
width2 |
. |
height2 |
. |
width3 |
. |
height3 |
. |
width4 |
. |
height4 |
. |
width5 |
. |
height5 |
. |
width6 |
. |
height6 |
. |
width7 |
. |
height7 |
. |
width8 |
. |
height8 |
. |
A results object containing:
results$instructions | a html | ||||
results$eigen | a table | ||||
results$cg | a table | ||||
results$ci | a table | ||||
results$quanti | a table | ||||
results$plot8 | an image | ||||
results$plot | an image | ||||
results$plot6 | an image | ||||
results$plot7 | an image | ||||
results$plot1 | an image | ||||
results$plot2 | an image | ||||
results$plot3 | an image | ||||
results$plot4 | an image | ||||
results$plot5 | an image | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$eigen$asDF
as.data.frame(results$eigen)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.