quadplot(xgobi)
quadplot()所属R语言包:xgobi
Tetrahedral Display for Four-Category Proportions using XGobi
四面体显示为四个类别的比例XGobi
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Four-category proportions are visualized as points inside a tetrahedron, using xgobi.
四类别比例是可视化的点在一个四面体,使用xgobi。
用法----------Usage----------
quadplot(mat4,
pointlabs = rownames(mat4),
vertexlabs = paste(1:4),
normalize = median(abs(c(mat4))) > 1)
参数----------Arguments----------
参数:mat4
matrix with 4 columns containing the data
矩阵与4列中包含的数据
参数:pointlabs
character array of labels for rows of data; by default it is the row number as a string.
字符数组的数据行的标签,默认情况下,它是作为一个字符串的行数。
参数:vertexlabs
character array of length 4 of labels for the vertices; by default it is the column number as a string.
字符数组长度为4的顶点的标签,默认情况下,它是作为一个字符串的列数。
参数:normalize
logical variable indicating whether or not to force each row of data to have unit sum before display, default is false.
逻辑变量,表示是否强制每行数据有单位的费用后才能显示,默认为false。
Details
详细信息----------Details----------
The set of all four-category proportions, or, alternatively, probability measures on finite probability fields with 4 atomic events, is the set of nonnegative 4-vectors whose components sum up to 1. The function quadplot uses xgobi to represent such vectors graphically as points inside a tetrahetron with height 1: the four components of the vector are the distances of the point to each of the sides of the tetrahetron. Each vertex of the tetrahedron corresponds to the degenerate probability distribution in which one of the atomic events has probability 1 and the others have probability 0. The labels of these vertices indicate the event which has probability 1.
所有四个类别的比例的一组,或者,可替代地,有限概率字段有4个原子的事件的概率的措施,是的一组非负4 - 向量,其组件总结1。功能quadplot使用xgobi代表图形点内部tetrahetron随高度1的这样的向量:该向量的四个组成部分是每个的tetrahetron两侧的点的距离。四面体的每个顶点对应的简并的概率分布,其中的原子的一个事件的概率为1和他人的概率为0。这些顶点的标签指示的事件具有概率1。
(作者)----------Author(s)----------
(port to <font face="Courier New,Courier" color="#666666"><b>R</b></font>)
Hans Ehrbar <a href="mailto:ehrbar@econ.utah.edu">ehrbar@econ.utah.edu</a> and Martin Maechler
(with explicit permission from Jim Ramsay)
参考文献----------References----------
<code>quadplot</code> was posted by Jim Ramsay ramsay@psych.mcgill.ca to S-news on Fri, 21 May 1993 14:03:15 EDT.
实例----------Examples----------
data(PaulKAI)
quadplot(PaulKAI, normalize = TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|