pointsphere(sphereplot)
pointsphere()所属R语言包:sphereplot
Random sphere pointing
随机领域指点
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Randomly generates data points within a sphere that are uniformly distributed.
随机地生成数据点的范围内是均匀分布的一个球体。
用法----------Usage----------
pointsphere(N = 100, longlim = c(0, 360), latlim = c(-90, 90), rlim = c(0, 1))
参数----------Arguments----------
参数:N
Number of random points.
随机点的数量。
参数:longlim
Limits of longitude in degrees.
限制为东经度。
参数:latlim
Limits of latitude in degrees.
以度为单位的纬度限制。
参数:rlim
Limits of radius.
为半径的限制。
Details
详细信息----------Details----------
This function randomly generates data points within a sphere that are uniformly distributed. 3D pointing is based in efficient inversion of random uniform distributions, rather than a Monte-Carlo approach.
此函数随机地生成数据点的范围内是均匀分布的一个球体。三维定位有效的反转,而不是随机均匀分布的Monte Carlo方法。
值----------Value----------
Returns a data.frame comtaining the longitude, latitude and radius of the random points generated.
返回一个的数据框comtaining产生随机点的经度,纬度和半径。
(作者)----------Author(s)----------
Aaron Robotham
实例----------Examples----------
rgl.sphgrid()
rgl.sphpoints(pointsphere(100,c(0,90),c(0,45),c(0.25,0.8)),deg=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|