找回密码
 注册
查看: 363|回复: 0

R语言 sperich包 createImage()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:58:56 | 显示全部楼层 |阅读模式
createImage(sperich)
createImage()所属R语言包:sperich

                                        Image Creation
                                         创建映像

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function creates a levelplot of the result-grid of species range estimation and saves it as a PNG-File.
这函数创建一个levelplot的电网的物种范围估计的结果,并将其保存为PNG文件。


用法----------Usage----------


                        directory, filename, shift,



参数----------Arguments----------

参数:grid
The grid that should be plotted. It contains the weighted species richness information.
应绘制的网格。它包含了加权的物种丰富度的信息。


参数:landwatermask
A grid containing the land-water-information of the observed area.  If a grid cell containes no land, the value of the cell in the  landwatermask is -1, otherwise it is 0.
的网格中所观察到的区域的土地与水的信息。一个的网格单元containes没有土地如果的landwatermask的单元格中的值是-1,否则为0。


参数:image.title
The heading of the created image.
的标题所创建的图像。


参数:directory
The directory in which the image should be stored.
应存储的目录中的图像。


参数:filename
The filename of the created PNG-File.
创建的PNG文件的文件名。


参数:shift
The geographic coordinates of the origin of the grid.
GEO坐标的网格原点。


参数:parts
An Integer value determining the number of divisions in the colorkey of the created image.
Integer值,确定了colorkey建立的图像的分割。


参数:resolution
The resolution of the grid in (geographical) degree.
决议中的网格(区域)学位。


Details

详细信息----------Details----------

This routine creates a levelplot of the weighted  species richness information and stores it as a PNG-File.
这程序创建一个levelplot的的加权物种丰富度信息,并将其存储为PNG格式文件。


值----------Value----------

The return type is boolean. The value is TRUE if the image-creation
返回类型是布尔值。该值是TRUE,如果图像创造


(作者)----------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)

##estimate species richness[#估计物种丰富度]
species.richness.weighted <- species.richness(dataset.all.species,
                                                landwatermask.nocoast, distances=1:10, weight=0.5, dimension,
                                                shift, resolution=1, upperbound=3000, all.species=1:20)

##create image[#创建一个图像]
image.success <- createImage(species.richness.weighted, landwatermask.nocoast,
            image.title="Test", directory=getwd(), filename="species.richness.test01.png",
            shift, parts=10, resolution=1)
print(image.success)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-18 16:02 , Processed in 0.038318 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表