construct.axes(SensoMineR)
construct.axes()所属R语言包:SensoMineR
Coordinates of individuals and illustrative individuals for PCA or MFA
个人及说明个人PCA或MFA坐标
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function is especially designed to be used in a sensory data analysis context. Returns the coordinates of the products when performing either PCA or MFA and the coordinates of the "partial" products when performing MFA. Returns also the panelists' coordinates when projected as illustrative rows onto the products' space. Produces graphs of products and descriptors from the output of PCA or MFA.
此功能是特别设计用于在感官数据分析上下文。当执行PCA或MFA和执行MFA时的坐标的“部分”产品的产品返回的坐标。返回小组成员的坐标投影时,说明行到产品的空间。产生从PCA或MFA的输出产品和描述符的图。
用法----------Usage----------
construct.axes(matrice, coord = c(1,2), scale.unit = TRUE, group = NULL,
name.group = NULL, centerbypanelist = FALSE, scalebypanelist = FALSE,
method = "coeff")
参数----------Arguments----------
参数:matrice
a data.frame made up of at least two qualitative variables (the panelist and the product variables), the others are sensory descriptors used to perform an MFA or a PCA if group = NULL
数据框由至少两个定性变量(小组成员和产品变量),其他的感官描述符用于执行MFA或PCA组= NULL
参数:coord
a length 2 vector specifying the components to plot
长度2矢量指定组件绘制
参数:scale.unit
boolean, if TRUE the descriptors are scaled to unit variance
布尔值,如果TRUE的描述符扩展到单位方差
参数:group
the number of variables in each group of variables when multiple factor analysis is performed (by default this parameter equals NULL and a PCA is performed)
变量的变量进行多因素分析时,各组(默认情况下,这个参数等于NULL和一个PCA)
参数:name.group
the names of the groups of variables when mfa is performed (if group differs from NULL)
MFA进行时的变量的组的名称(如果group从NULL不同)
参数:centerbypanelist
center the data by panelist before the construction of the axes
中心的数据由小组成员在施工前的轴
参数:scalebypanelist
scale the data by panelist before the construction of the axes
扩展的数据由小组成员在施工前的轴
参数:method
the method to replace the missing values: "average" or "coeff" (coefficients of the product variable in the anova model)
的方法来代替缺失值:“一般”或“COEFF”(产品变量的方差分析模型中的系数)
Details
详细信息----------Details----------
The input data set is an object of class data.frame, for which the two first columns are qualitative variables (the first variable refers to the panelist variable and the second to the product variable) and the others are quantitative. <br>
输入数据集的类的一个对象data.frame,其中两个第一列是定性的变量(第一可变是指小组成员变量和所述第二的产品变量),其他的是定量的。参考
The ouptut of this function is a list with one element when performing PCA and two elements when performing MFA. The first element is the data frame of the coordinates of the products according to the whole panel (Panelist=0) and to the panelists. The second element is the data frame of the coordinates of the "partial products" according to the whole panel (Panelist=0) and to the panelists. <br>
ouptut这个功能是有一个元素的列表时进行PCA和两个元素时MFA。第一个元素是根据整个面板(专门小组成员= 0),并专门小组成员的产品的坐标的数据框。第二个元素是根据整个面板(专门小组成员= 0),并专门小组成员的“部分产品”的坐标的数据框。参考
This function is necessary when calculating confidence ellipses for products.
计算置信椭圆的产品时,此功能是必要的。
值----------Value----------
A list containing the following elements:
一个列表,其中包含以下元素:
参数:eig
a matrix with the component of the factor analysis (in row) and the eigenvalues, the inertia and the cumulative inertia for each component
一个矩阵,其中的因子分析的组件(行)和本征值,转动惯量和每个组件的累积惯性
参数:moyen
the coordinates of the products with respect to the panel and to each panelists
的产品相对于面板和每个小组成员的坐标
参数:partiel
the coordinates of the partial products with respect to the panel and to each panelists
的部分乘积的坐标相对于面板和每个小组成员
Returns also a correlation circle as well as a graph of individuals
也返回相关圆的曲线图,以及个人
(作者)----------Author(s)----------
Fran莽ois Husson
参考文献----------References----------
Analyses factorielles simples et multiples: objectifs, m茅thodes et interpr茅tation Dunod, Paris. 1–267. <br>
Multiple factor analysis (AFMULT package). Computational Statistics and Data Analysis, 18, 121–140.
参见----------See Also----------
MFA
MFA
实例----------Examples----------
## Example1: PCA [例1:PCA]
data(chocolates)
donnee <- cbind.data.frame(sensochoc[,c(1,4,5:18)])
axe <- construct.axes(donnee, scale.unit = TRUE)
## Example2: MFA (two groups of variables)[例2:MFA(两组的变量)]
data(chocolates)
donnee <- cbind.data.frame(sensochoc[,c(1,4,5:18)])
axe <- construct.axes(donnee, group = c(6,8),
name.group = c("A-F","T-S"),scale.unit = TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|