plot.samediff(sensR)
plot.samediff()所属R语言包:sensR
Plot function for samediff objects
绘图功能samediff对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function plots the latent distributions of sensory intensity corresponding to the items or products tested in the discrimination test.
此函数绘制的潜感觉强度分布对应歧视测试中进行测试的项目或产品。
用法----------Usage----------
## S3 method for class 'samediff'
plot(x, main = TRUE, length = 1000,
limits, fig = TRUE, ...)
参数----------Arguments----------
参数:x
The samediff object whose latent distributions are to be plotted
要绘制的samediff对象,其潜在分布
参数:main
include an automatically generated title on the plot? Default is TRUE
包括在图上自动生成的标题?默认是TRUE
参数:length
the length of the vectors to be plotted. Longer vectors gives more smooth curves, but can take a little time.
矢量的长度被绘制。较长的向量提供了更平滑的曲线,但可能需要一点时间。
参数:limits
optional limits on the x-axis; vector of length two.
可选的在x-轴的限制;矢量的长度为二。
参数:fig
logical: Should the function create the plot? Defaults to TRUE.
逻辑:如果函数创建的图吗?默认为TRUE的。
参数:...
additional arguments to plot and lines
额外的参数plot和lines
值----------Value----------
If fig = TRUE, the function will produce the plot. The function invisibly returns a data.frame with elements <table summary="R valueblock"> <tr valign="top"><td>z</td> <td> values for the x-axis of lenght length.</td></tr> <tr valign="top"><td>base.dist</td> <td> y-values for the base distribution of same-samples, ie. a standard normal distribution</td></tr> <tr valign="top"><td>delta.dist</td> <td> y-values for the distribution of different-samples, ie. a normal distribution centred at delta with unit variance.</td></tr> </table> This facilitates later plotting and changing the appearance of the plot.
如果fig = TRUE,该函数将产生的图。功能不可见的元素,返回一个数据框表summary="R valueblock"> <tr valign="top"> <TD> z </ TD> <TD>值的长度为x轴length。</ TD> </ TR> <tr valign="top"> <TD> base.dist </ TD> <TD>的y值基本相同的样本分布,即。标准正态分布</ TD> </ TR> <tr valign="top"> <TD> delta.dist</ TD> <TD>分布的不同样本,即y值。一个正常的分布集中在delta的单位方差。</ TD> </ TR> </表>,这有利于后策划和改变外观的图。
(作者)----------Author(s)----------
Rune Haubo B Christensen
实例----------Examples----------
## Make same-diff object:[#同样的比较对象:]
sadi <- samediff(8, 5, 4, 9)
## Plot distributions of sensory intensity:[#图的感觉强度分布:]
plot(sadi)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|