Learn R Programming

SensoMineR (version 1.03)

hmfa: Hierarchical Multiple Factor Analysis

Description

Performs a hierarchical multiple factor analysis, using an object of class list of data.frame.

Usage

hmfa(X, H, num = 6, coord = c(1,2))

Arguments

X
a data.frame
H
a list with one vector for each hierarchical level; in each vector the number of variables or the number of group constituting the group
num
number of graphs for the partial plots in one window
coord
a length 2 vector specifying the components to plot

Value

  • Returns a list including:
  • hmfaan object all the results of the hmfa
  • coord.partiala list of lists of matrix

References

Le Dien, S. & Pag�s, J. (2003) Hierarchical Multiple factor analysis: application to the comparison of sensory profiles, Food Quality and Preferences, 18 (6), 453-464.

Examples

Run this code
data(sensopanels)
reshmfa<-hmfa(sensopanels, H = list(rep(14,7),c(4,3)))

Run the code above in your browser using DataLab