car2sph(sphereplot)
car2sph()所属R语言包:sphereplot
Transforms 3D cartesian coordinates to spherical coordinates
三维直角坐标系变换到球面坐标
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Transforms 3D cartesian coordinates to spherical coordinates. The user can choose to return the spherical coordinates in degrees or radians.
三维直角坐标系变换到球面坐标。用户可以选择退货度或弧度的球面坐标。
用法----------Usage----------
car2sph(x, y, z, deg = FALSE)
参数----------Arguments----------
参数:x
x values, can also contain a matrix of x, y and z (in that order).
x值的x,y和z(以该顺序),也可以包含一个矩阵。
参数:y
y values.
y的值。
参数:z
z values
z值
参数:deg
Should degrees be returned or radians (default).
应度的,作退回或者弧度(默认情况下)。
Details
详细信息----------Details----------
This is a low level function that is used for plot transformations.
这是一个低级别的功能,用于图转换。
值----------Value----------
A data.frame is returned containing the columns long (longitude), lat (latitude) and radius.
数据框返回包含的列长(经度),纬度(北纬)和半径。
(作者)----------Author(s)----------
Aaron Robotham
实例----------Examples----------
print(car2sph(x=1,y=1,z=0,deg=TRUE))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|