overlap(siar)
overlap()所属R语言包:siar
Area of overlap between two estimated ellipses
两个估计椭圆之间的重叠区域
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given the coordinates of two bivariate samples, this function calculates (computationally) the area of overlap between two standard ellipses. Note, be sure to use a sufficiently low step size when creating the ellipses (i.e. to ensure that there is no excessive discretising of the elliptical shape). As a result of this process, you will inevitably underestimate the true ellipse areas and hence their overlap (although this bias is likely to be inconsequential) if a suitable fine scale is chosen for the step size. There is no single rule for making this choice as it depends on the angle and shape of the ellipse but a step-size of 1 should be more than sufficient in most cases (N.B. the default steps=5). The ellipses calculated are the small sample size corrected standard ellipses.
鉴于两个二元样本的坐标,此函数计算(计算)之间的重叠区域的两个标准椭圆。请注意,创建的省略号(即确保有没有的过度discretising的椭圆形)时,请务必使用一个足够低的步长。因此这个过程中,你不可避免地会低估真实的椭圆形区域,因此他们的重叠(尽管这种偏见很可能是无关紧要的),如果选择一个合适的判罚尺度步长。没有单一的规则作出这样的选择,因为它依赖于角度和形状的椭圆,而是一个步长的1应该是绰绰有余的,在大多数情况下(注:默认的步骤= 5)。椭圆计算的修正标准椭圆形的小样本量。
用法----------Usage----------
overlap(x1,y1,x2,y2,steps = 5)
参数----------Arguments----------
参数:x1
A vector containing the x coordinates of the first data.
一种向量,含有的x坐标的第一数据。
参数:y1
A vector containing the y coordinates of the first data.
一种向量,含有的y坐标的第一数据。
参数:x2
A vector containing the x coordinates of the second data.
一种向量,含有的x坐标的第二数据。
参数:y2
A vector containing the y coordinates of the second data.
一种向量,含有的y坐标的第二数据。
参数:steps
The number of steps in degrees to estimate points on the curve.
步骤以度来估计曲线上的点的数量。
值----------Value----------
参数:overlap
The area of overlap between the two standard ellipses.
之间的重叠区域的两个标准椭圆。
参数:area1
The area of the first ellipse.
第一椭圆的面积。
参数:area2
The area of the second ellipse.
所述第二椭圆的面积。
(作者)----------Author(s)----------
Andrew Jackson
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|