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

R语言 spatstat包 trim.rectangle()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:18:17 | 显示全部楼层 |阅读模式
trim.rectangle(spatstat)
trim.rectangle()所属R语言包:spatstat

                                        Cut margins from rectangle
                                         切利润率矩形

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

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

Trims a margin from a rectangle.
从一个矩形剪裁的保证金。


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


trim.rectangle(W, xmargin=0, ymargin=xmargin)



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

参数:W
A window (object of class "owin"). Must be of type "rectangle".  
一个窗口(类的对象"owin"“)。必须是类型"rectangle"。


参数:xmargin
Width of horizontal margin to be trimmed. A single nonnegative number, or a vector of length 2 indicating margins of unequal width at left and right.  
要修剪的水平边距的宽度。一个单一的非负数,或指示在左和右边缘不平等宽度的长度为2的向量。


参数:ymargin
Height of vertical margin to be trimmed. A single nonnegative number, or a vector of length 2 indicating margins of unequal width at bottom and top.  
要修剪高度的垂直边距。一个单一的非负数,或长度为2的一个向量,表示不平等的宽度在底部和顶部的边距。


Details

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

This is a simple convenience function to trim off a margin of specified width and height from each side of a rectangular window. Unequal margins can also be trimmed.
这是一个简单方便的功能,剪掉的保证金从每边的矩形窗口的指定宽度和高度。不平等的利润也可以进行修整。


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

Another object of class "owin" representing the window after margins are trimmed.
另一个对象的类"owin"窗口被修剪后的利润。


(作者)----------Author(s)----------


Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>




参见----------See Also----------

owin.object
owin.object


实例----------Examples----------


  w <- square(10)
  # trim a margin of width 1 from all four sides[修剪缘的宽度为1,从四面八方]
  square9 <- trim.rectangle(w, 1)

  # trim margin of width 3 from the right side[从右侧的宽度为3的修剪缘]
  # and margin of height 4 from top edge.[缘高度从顶部边缘。]
  v <- trim.rectangle(w, c(0,3), c(0,4))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 01:21 , Processed in 0.022280 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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