createLandwatermask(sperich)
createLandwatermask()所属R语言包:sperich
Land-Water-Mask Creation
土地与水的掩模制作
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function creates a land-water-mask as a grid based on given dimension and coordinates.
该函数创建一个土地水掩模作为一个网格,根据给定的尺寸和坐标。
用法----------Usage----------
createLandwatermask(dataset.landwater, dimension, shift, resolution=1)
参数----------Arguments----------
参数:dataset.landwater
A dataset containing the percentage of land on a cell of a grid. The coordinates of the cell should be given as longitude (named: long) and lattude (named: lat) and the percentage of land shoud be named landsum. If the value of 'dataset.landwater' is 'NULL', a grid containing only land-cells will be created.
数据集包含土地上的一个网格单元的百分比。应给予的坐标单元经度(命名为:长)和lattude(名为:纬度),被命名为landsum土地电视剧续集失误谈的百分比。如果该值“dataset.landwater是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 land-water-mask as a grid. As Input a dataset with land-water-information is needed. The grid will
该程序创建了一个土地与水的面罩为一个网格。作为输入数据集,土地与水的信息是必要的。该网格将
值----------Value----------
This function returns a grid which contains the land-water information of the observed area.
这个函数返回一个网格,所观察到的区域,其中包含了土地与水的信息。
(作者)----------Author(s)----------
Maximilian Lange, Sven Lautenbach
实例----------Examples----------
##load data[#加载数据]
data(dataset.all.species)
data(dataset.landwater)
##create grid parameters[#创建网格参数。]
dimension <- getDimension(dataset.all.species, resolution=1)
shift <- getShift(dataset.all.species)
##create landwatermask[#创建landwatermask]
landwatermask.nocoast <- createLandwatermask(dataset.landwater,
dimension, shift, resolution=1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|