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

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

[复制链接]
发表于 2012-9-30 01:52:08 | 显示全部楼层 |阅读模式
shapepca(shapes)
shapepca()所属R语言包:shapes

                                        Principal components analysis for shape
                                         主成分分析的形状

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

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

Provides graphical summaries of principal components for shape.
提供图形化的主要组成部分的形状摘要。


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


shapepca(proc, pcno = c(1, 2, 3), type = "r", mag = 1, joinline = c(1, 1), project=c(1,2),scores3d=FALSE,color=2,axes3=FALSE,rglopen=TRUE,zslice=0)



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

参数:proc
List given by the output from procGPA()  
列表的输出procGPA()


参数:pcno
A vector of the PCs to be plotted
要绘制一个向量的PC


参数:type
Options for the types of plot for the $m=2$ planar case: "r" : rows along PCs evaluated at c = -3,0,3 sd's along PC, "v" : vectors drawn from mean to +3 sd's along PC, "s" : plots along c= -3, -2, -1, 0, 1, 2, 3 superimposed, "m" : movie backward and forwards from -3 to +3 sd's along PC, "g" : TPS grid from mean to +3 sd's along PC.  
$ M = $平面的情况:“R”:在C行以及个人电脑评估的图类型选项= -3,0,3 SD沿PC,“V”:向量从平均+3政府统计处的“S”:沿PC,图沿c = -3,-2,-1,0,1,2,3叠加,“M”:电影中向后和向前一起从-3到+3 SD PC, “G”:TPS意味着+3 SD沿PC电网。


参数:mag
Magnification of the effect of the PC (scalar multiple of sd's)
放大倍率的影响的PC(标量的SD的倍数)


参数:joinline
A vector stating which landmarks are joined up by lines, e.g. joinline=c(1:n,1) will start at landmark 1, join to 2, ..., join to n, then re-join to landmark 1.
一个向量地标线,加入了如: joinline = C(1:N,1)将开始在地标1,加入到2,...,加入到n,然后再加入地标1。


参数:project
The default orthogonal projections if in higher than 2 dimensions
默认的正交投影,如果在高于2尺寸


参数:scores3d
Logical. If TRUE then a 3D scatterplot of the first 3 raw PC scores with  labels in "pcno" is given, instead  of the default plot of the mean and PC vectors.
逻辑。如果是TRUE,则一个三维散点图第3原料PC分数与在“pcno”的标签,而不是默认的均值和PC向量图。


参数:color
Color of the spheres used in plotting. Default color = 2 (red).  If a vector is given then the points are colored in that order.
用于打印领域的色彩。默认颜色= 2(红色)。然后给出如果一个向量的点的颜色的顺序。


参数:axes3
Logical. If TRUE then the axes are plotted in a 3D plot.
逻辑。如果是TRUE,然后绘制轴在三维图。


参数:rglopen
Logical. If TRUE then open a new RGL window, if FALSE then plot in current window.
逻辑。如果是TRUE,然后打开一个新的的RGL窗口,如果FALSE,则在当前窗口图。


参数:zslice
For 3D case, type = "g": the z co-ordinate(s) for the grid slice(s)
对于3D情况下,type =“G”:在z坐标()的网格片(S)


Details

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

The mean and PCs are plotted.
的均值和电脑绘制。


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

No value is returned
无返回值


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


Ian Dryden



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



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

procGPA
procGPA


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


#2d example[2D实例]
data(gorf.dat)
data(gorm.dat)

gorf<-procGPA(gorf.dat)
gorm<-procGPA(gorm.dat)
shapepca(gorf,type="r",mag=3)
shapepca(gorf,type="v",mag=3)
shapepca(gorm,type="r",mag=3)
shapepca(gorm,type="v",mag=3)

#3D example[3D例子]
#data(macm.dat)[数据(macm.dat)]
#out&lt;-procGPA(macm.dat)[出<procGPA(macm.dat)]
#movie[电影]
#shapepca(out,pcno=1)[shapepca(pcno = 1)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-21 23:30 , Processed in 0.025731 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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