getXYmat(shotGroups)
getXYmat()所属R语言包:shotGroups
Matrix of (x,y)-coordinates relative to point of aim
矩阵(X,Y)坐标相对于点目标
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns the matrix of (x,y)-coordinates of the points of impact relative to the point of aim. This matrix can then be used in functions like groupLocation, groupShape, or groupSpread.
返回(的x,y)坐标点的影响,相对于点瞄准的基质中。这个矩阵就可以使用的功能,如groupLocation,groupShape或groupSpread。
用法----------Usage----------
getXYmat(DF, xyTopLeft = TRUE)
参数----------Arguments----------
参数:DF
a data frame containing (at least) these variables: Aim.X, Aim.Y defining point of aim, Point.X, and Point.Y defining the bullet holes.
一个数据框包含这些变量(至少):Aim.X,Aim.Y定义的瞄准点,Point.X和Point.Y定义的弹孔。
参数:xyTopLeft
a logical value indicating whether the origin of the absolute coordinate system is in the top-left corner. This is the default for data exported by OnTarget PC/TDS.
一个逻辑值,该值指示是否是在左上角的绝对坐标系的原点。这是默认情况下,导出的数据由的ONTARGET PC / TDS。
值----------Value----------
A numerical matrix with the (x,y)-coordinates.
的(x,y)的坐标的数值矩阵。
参见----------See Also----------
groupLocation, groupShape, groupSpread
groupLocation,groupShape,groupSpread
实例----------Examples----------
data(DFcm)
# select combined data from only first 2 series[选择合并后的数据只能从第2系列]
DF <- subset(DFcm, Series %in% 1:2)
xy <- getXYmat(DF, xyTopLeft=TRUE)
groupLocation(xy, plots=2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|