triangle.design(SensoMineR)
triangle.design()所属R语言包:SensoMineR
Construct a design for triangle tests
构建一个三角形测试的设计
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Construct a design to make triangle tests.
构建一个设计,使三角形测试。
用法----------Usage----------
triangle.design (nbprod , nbpanelist, bypanelist = nbprod*(nbprod-1)/2,
labprod=1:nbprod, labpanelist=1:nbpanelist)
参数----------Arguments----------
参数:nbprod
number of products to compare
数量的产品,用来比较的
参数:nbpanelist
number of panelists who make the triangle test
三角试验的受试者数
参数:bypanelist
number of expermient that each panelist can done (by default each panelist make all the comparisons between the products
数,每个小组成员可以完成(默认情况下,每个小组成员的expermient让所有的产品之间的比较
参数:labprod
name of the products (by default, the product are coded from 1 to the number of products
产品名称(在默认情况下,该产品被编码的产品的数量从1到
参数:labpanelist
name of the panelists (by default, the panelists are coded from 1 to the number of panelists
小组成员名称(默认情况下,小组成员被编码专家组成员的数量从1到
Details
详细信息----------Details----------
Triangle test: panelists receive three coded samples. They are told that two of the sample are the same and one is different.
三角测试:小组成员获得3个编码样本。他们被告知,两个样品是相同的,一个是不同的。
值----------Value----------
Returns an data.frame of dimension (t,3), where t is the number of experiments. In column 1, 2 and 3 the product to test are given. The product in column 1 is by coded "X", in column 2 is coded by "Y" and in column 3 is coded by "Z". Panelist should start by product "X", then "Y" and then by "Z".
返回一个数据框尺寸(吨,3),其中t是实验次数。在塔1中,2和3中给出的产品进行测试。在第1列中的产品是由编码的“X”,在第2栏中用“Y”,并进行编码,被编码的第3栏中按“Z”。专家组成员应该从产品的“X”,“Y”,然后按“Z”。
(作者)----------Author(s)----------
Fran莽ois Husson
参见----------See Also----------
triangle.test, triangle.pair.test
triangle.test,triangle.pair.test
实例----------Examples----------
##Example 1[#示例1]
design1 = triangle.design (nbprod = 4, nbpanelist = 8)
##Example 2[#示例2]
design2 = triangle.design(nbprod = 4, nbpanelist = 6, bypanelist = 3,
labprod=c("prod1","prod2","prod3","prod4"),
labpanelist=c("John","Audrey","Peter","Martina","James","Lisa"))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|