Free choice profiling with confidence ellipses
fcp(X,group,scale=TRUE, ncp = NULL, axes=c(1,2), name.group = NULL, level.conf = 0.95,
nbsim=500, nbchoix=NULL, cex=1, color=NULL, title=NULL, new.plot=TRUE,
graph=c("ind","var","ellipse"))
Returns a list with the result of the MFA and the bootstraped results that can be used with the plotellipse function.
data.frame
a list indicating the number of variables in each group; used when method="freechoice" or method="hsort"
boolean, used when method="freechoice"; if TRUE, the variables are scaled
number of components used to procrustes the virtual subspaces on the true subspace; NULL by default and the number of components is estimated
a length 2 vector specifying the components to plot
the names of each group of variables
confidence level used to construct the ellipses. By default, 0.95
the number of simulations (corresponding to the number of virtual panels) used to compute the ellipses
the number of panelists forming a virtual panel, by default the number of panelists in the original panel
cf. function par
in the graphics package
a vector with the colors used; by default there are 35 colors defined
string corresponding to the title of the graph you draw (by default NULL and a title is chosen)
boolean, if TRUE, a new graphical device is created
list with the graphs to draw; "ind", "var" and "ellipse" by default
Francois Husson
Perform MFA on the data frame and calculate confidence ellipses around the products
if (FALSE) {
data(perfume_fcp)
res <- fcp(perfume_fcp, group = c(12,7,7,7,6,8))
}
Run the code above in your browser using DataLab