找回密码
 注册
查看: 300|回复: 0

R语言 SensoMineR包 decat()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 00:56:59 | 显示全部楼层 |阅读模式
decat(SensoMineR)
decat()所属R语言包:SensoMineR

                                        DEscription of CATegories
                                         分类说明

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function is designed to point out the variables that are the most characteristic according  to the set of products in its whole, and to each of the products in particular. <br>
此功能被设计为是最有特点的产品在其整个的集合,和各产品特别指出的变量。参考

This function is designed to test the main effect of a categorical variable (F-test)  and the significance of its coefficients (T-test) for a set of endogenous variables  and a given analysis of variance model. In most cases, the main effect is the product effect and the endogenous variables are the sensory descriptors.
此功能的目的是检验分类变量(F检验)和一组内生变量的意义,它的系数(T-测试)和方差分析模型的主要作用。的主要作用是在大多数情况下,产品的影响以及内源性的变量是感官的描述符。


用法----------Usage----------


decat(donnee, formul, firstvar, lastvar = length(colnames(donnee)),
    proba = 0.05, graph = TRUE, col.lower = "mistyrose",
    col.upper = "lightblue", nbrow = NULL, nbcol = NULL, random = TRUE)



参数----------Arguments----------

参数:donnee
a data frame made up of at least two qualitative variables  (product, panelist) and a set of quantitative variables (sensory descriptors)
由一个数据框中的至少两个质的变量(产品,小组成员)和一组的定量变量(感官描述符)


参数:formul
the model that is to be tested
是要被测试的模型,该模型


参数:firstvar
the position of the first endogenous variable
的第一个内生变量的位置


参数:lastvar
the position of the last endogenous variable (by default the last column of donnee)
位置的内生变量(默认情况下,最后一列donnee)


参数:proba
the significance threshold considered for the analyses of variance (by default 0.05)
的意义考虑方差分析的阈值(默认情况下,0.05)


参数:graph
a boolean, if TRUE a barplot of the P-values associated with the F-test of the product effet is displayed
一个布尔值,如果真正的barplot的P-值与F-检验的产品effet


参数:col.lower
the color used for 'level.lower'. Only useful if graph is TRUE
使用的颜色level.lower“。只有有用的,如果graph是TRUE


参数:col.upper
the color used for 'upper.lower'. Only useful if graph is TRUE
使用的颜色upper.lower“。只有有用的,如果graph是TRUE


参数:nbrow
the number of rows to be displayed (by default, all the values are displayed). Only useful if graph is TRUE
要显示的行数(默认情况下,所有的值都显示出来)。只有有用的,如果graph是TRUE


参数:nbcol
the number of columns to be displayed (by default, all the values are displayed). Only useful if graph is TRUE
要显示的列数(默认情况下,所有的值都显示)。只有有用的,如果graph是TRUE


参数:random
boolean, effect should be possible as fixed or random (default as random)
布尔值,效果应该是可能的,因为固定或随机的(默认为随机)


Details

详细信息----------Details----------

The formul parameter must be filled in by an analysis of variance model and must  begin with the categorical variable of interest (e.g. the product effect) followed by the different other factors of interest (and their combinations). E.g.:formul = "~Product+Panelist+Session".
formul参数必须填写方差分析模型和必须开始与分类变量的利益(如产品的功效)的利益(以及它们的组合)的不同等因素的影响。例如:formul = "~Product+Panelist+Session"。


值----------Value----------

A list containing the following elements:
一个列表,其中包含以下元素:


参数:tabF
the V-test and the P-value of the F-test for each descriptor resulting from the analysis of variance model
V-试验和P-F-检验值从方差分析模型得到的每个描述符


参数:tabT
a (products,descriptors) data frame, in which each cell is the Vtest for a given product and a given descriptor
(产品,描述符)的数据框,其中每个单元格是VTEST对于一个给定的产物和一个给定的描述符


参数:coeff
a (products,descriptors) data frame, in which each cell is the coefficient resulting from the analysis of variance model for a given product and a given descriptor
(产品,描述符)的数据框,其中每个单元格是对于给定的产物从方差分析模型得到的系数和一个给定的描述符


参数:resF
the V-test and the P-value for each descriptor resulting from the analysis of variance model, sorted in ascending order
V-试验和从方差分析模型得到的每个描述符的P-值,按升序排序


参数:resT
a list which elements are data frames, one data frame per product:  the coefficient, the P-value and the Vtest for each significant descriptor resulting from the analysis of variance model, sorted in descending order
列表中的元素的数据框,一个数据框的每个产品的系数,P值和每一个重要的描述符,从方差分析模型的VTEST,按降序排序


参数:adjmean
a (products,descriptors) data frame, in which each cell is the adjusted mean resulting from the analysis of variance model for a given product and a given descriptor
(产品,描述符)的数据框,其中每个单元格是对于一个给定的产物从方差分析模型得到的调整后的平均,和一个给定的描述符

A barplot of the P-values associated with the F-test of the product effet.<br> A colored table with the adjusted means of the categorical variable: the values significantly different from the general mean are colored (significantly different with the proba level); the significantly less are colored in red (by default) and the significantly great are colored in blue.
一个barplot的P-值与F-检验的产品effet参考的彩色表的调整手段的分类变量的值显着不同,一般平均是彩色的(显着不同的proba级);显著减少以红色(默认情况下)的显著伟大的颜色为蓝色。


(作者)----------Author(s)----------


Fran莽ois Husson



参考文献----------References----------

H. Sahai, M. I. Ageel. The analysis of variance.

参见----------See Also----------

aov
aov


实例----------Examples----------


### Example 1[##示例1]
data(chocolates)
## model (AOV): " descriptor = product + panelist "[#模型(AOV):“描述=产品+小组成员”]
resdecat<-decat(sensochoc, formul="~Product+Panelist", firstvar = 5)
barrow(resdecat$tabT)
barrow(t(resdecat$tabT), numr = 3, numc = 3)
barrow(resdecat$coeff, color = "orange")

### Example 2[##示例2]
data(chocolates)
## model (AOV): " descriptor = product + panelist "[#模型(AOV):“描述=产品+小组成员”]
res2 <-decat(sensochoc, formul="~Product+Panelist", firstvar = 5,
    proba=1, graph = FALSE)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-19 16:28 , Processed in 0.025707 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表