createHeightmask(sperich)
createHeightmask()所属R语言包:sperich
Height-Mask Creation
高度掩模制作
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function creates a height-mask as a grid based on given dimension and coordinates.
这个函数创建一个高度面具作为一个网格,根据给定的尺寸和坐标。
用法----------Usage----------
createHeightmask(dataset.height, dimension, shift, resolution=1)
参数----------Arguments----------
参数:dataset.height
A dataframe containing the longitude and lattitude of the grid cell location as 'long' and 'lat' and the height of the cell as 'height'. If the value of 'dataset.height' is 'NULL', the returned grid contains 0 as height-information of every cell.
含有为“长”和“纬度”,“高度”的单元格的高度的网格的单元格位置的经度和lattitude甲数据框。如果该值“dataset.height是NULL,返回的网格包含高度信息的每一个单元。
参数:dimension
The dimension of the processed grid.
处理后的网格尺寸。
参数:shift
The geographic coordinates of the origin of the grid.
GEO坐标的网格原点。
参数:resolution
The resolution of the grid in (geographical) degree.
决议中的网格(区域)学位。
Details
详细信息----------Details----------
This routine creates a height-mask as a grid. As Input a dataset with height-information is needed. The grid will be created with a given dimension.
该程序创建一个高度面具作为一个网格。由于输入的数据集高度的信息是必要的。该网格将创建一个给定的尺寸。
值----------Value----------
This function returns a grid which contains the height information of the observed area.
这个函数返回一个网格,其中包含的观察区域的高度信息。
(作者)----------Author(s)----------
Maximilian Lange, Sven Lautenbach
实例----------Examples----------
##load data[#加载数据]
data(dataset.all.species)
data(dataset.height)
##create grid parameters[#创建网格参数。]
dimension <- getDimension(dataset.all.species, resolution=1)
shift <- getShift(dataset.all.species)
##create height-matrix[#创建高度矩阵]
height.matrix <- createHeightmask(dataset.height, dimension, shift, resolution=1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|