spatstat.options(spatstat)
spatstat.options()所属R语言包:spatstat
Internal Options in Spatstat Package
在Spatstat包装的内部选项
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Allows the user to examine and reset the values of global parameters which control actions in the spatstat package.
允许用户检查和复位控制操作spatstat包的全局参数的值。
用法----------Usage----------
spatstat.options(...)
reset.spatstat.options()
参数----------Arguments----------
参数:...
Either empty, or a succession of parameter names in quotes, or a succession of name=value pairs. See below for the parameter names.
要么为空,或继承报价,参数名称或继承name=value对。请参阅下面的参数名称。
Details
详细信息----------Details----------
The function spatstat.options allows the user to examine and reset the values of global parameters which control actions in the spatstat package. It is analogous to the system function options.
的功能spatstat.options允许用户检查和复位全局参数的值的控制操作,spatstat的软件包。是类似于系统函数options。
The function reset.spatstat.options resets all the global parameters in spatstat to their original, default values.
的功能reset.spatstat.options重置所有的全局参数在spatstat到原来的默认值。
The global parameters are:
全局参数是:
Logical flag indicating whether the new code in rmh.default which makes the results scalable (invariant to change of units) should be used. In order to recover former behaviour (so that previous results can be reproduced) set this option equal to FALSE. See the “Warning” section in the help for rmh() for more detail.
逻辑指示标志的新代码是否rmh.default这使得可扩展的结果(单位不变的改变),应使用。为了恢复以前的行为(以前的结果可以被复制)设置此等于FALSE的选项。在为rmh()更详细的帮助,请参阅“警告”一节。
Default number of pixels in a binary mask or pixel image. Either an integer, or a pair of integers, giving the number of pixels in the x and y directions respectively.
默认在一个二进制掩模或像素的图像的像素数目。一个整数,或一对整数,给x和y方向中的像素数。
Edge correction weights will be trimmed so as not to exceed this value. This applies to the weights computed by edge.Trans or edge.Ripley and used in Kest and its relatives.
边缘校正权重将被修剪,以免超过这个值。这也适用于计算权重edge.Trans或edge.Ripley,用于Kest和它的亲戚。
List of arguments to be passed to the function image when displaying a binary image mask (in plot.owin or plot.ppp). Typically used to reset the colours of foreground and background.
传递给函数的参数列表image显示二进制图像遮罩(plot.owin或plot.ppp)。通常用于重置的前景和背景的颜色。
List of arguments to be passed to the function persp when displaying a real-valued image, such as the fitted surfaces in plot.ppm.
传递给函数的参数列表persp显示实际值图像,如装面plot.ppm。
List of arguments controlling the plotting of point patterns by plot.ppp.
参数控制点图案的绘制plot.ppp名单。
List of arguments controlling contour plots of pixel images by contour.im.
控制等高线图的像素的图像contour.im的参数。
List of arguments controlling the plotting of functions by plot.fv and its relatives.
控制plot.fv及其亲属的绘图功能的参数。
The minimum number of dummy points in a quadrature scheme created by default.dummy. Either an integer or a pair of integers giving the minimum number of dummy points in the x and y directions respectively.
在积分方案的default.dummy的最小数量的虚拟点。无论是整数或整数的最低数量的虚拟点x和y方向分别对。
Number of points in the square grid used to compute a discrete approximation to the areas of discs in areaLoss and areaGain when exact calculation is not available. A single integer.
点数的正方形网格,用于计算的离散近似光盘领域的areaLoss和areaGain精确的计算是不可用。一个整数。
Function determining the default colour map for plot.im. When called with one integer argument n, this function should return a character vector of length n specifying n different colours.
功能确定的默认颜色映射plot.im。当调用一个整数参数n,这个函数应该返回一个字符矢量的长度nn不同的颜色。
Character string determining the style of progress reports printed by progressreport. Either "tty" or "txtbar".
字符串确定印制的progressreport风格的进度报告。无论是"tty"或"txtbar"。
Logical flag indicating whether the functions owin and as.owin should check the validity of polygon data. It is advisable to leave this set to TRUE. If you set checkpolygons=FALSE, no checking will be performed, making it possible to create window objects whose topology is garbled. This can be useful for inspecting spatial data that contain errors, for example, when converting data from shapefiles. However, other functions in spatstat may return incorrect answers on these data.
逻辑标志指示的功能是否owin和as.owin应该检查多边形数据的有效性。这是最好离开这个设置为TRUE。如果你设置checkpolygons=FALSE,将不检查,它可以创建窗口对象的拓扑结构是乱码。用于检查空间包含错误的数据,例如,从shapefile转换数据时,这可能是有用的。然而,其他的功能在spatstat这些数据可能会返回不正确的答案。
Logical flag indicating whether the functions psp and as.psp should check the validity of line segment data (in particular, checking that the endpoints of the line segments are inside the specified window). It is advisable to leave this flag set to TRUE.
逻辑标志,指示是否功能psp和as.psp应检查的有效性线段数据(特别是检查指定的窗口内的端点的线段)。这是最好,离开这个标志设置为TRUE。
Logical flag indicating whether the polygon clipping library gpclib can be used. The default is FALSE, which means that the package gpclib is not loaded, and certain polygon operations (such as the intersection and union of polygons) will be approximated by raster operations. If this option is re-set to TRUE, then the package gpclib will be loaded, and polygon operations such as the union and intersection of polygons will result in a polygon. The licence for gpclib is not Free Open Source and explicitly forbids commercial use. See library(help=gpclib). If you are using spatstat for commercial purposes, this option should remain set to FALSE.
逻辑标志指示是否多边形裁剪库gpclib可以使用。默认是FALSE,这意味着套件“gpclib没有加载,和某些多边形的操作(如交集和并集多边形)将近似光栅操作。如果此选项设置为TRUE,然后包gpclib会被加载,和多边形的操作,如多边形的并集和交集,将导致一个多边形。 gpclib的许可证是免费开源,并明确禁止商业用途。见library(help=gpclib)。如果您使用的是spatstat用于商业用途,此选项应保持设置为FALSE。
The maximum permitted size (rows times columns) of matrices generated by spatstat's internal code. Used by ppm and predict.ppm (for example) to decide when to split a large calculation into blocks. Defaults to 2^24=16777216.
允许的最大大小(行次列)矩阵所产生的spatstat的内部代码。用于通过ppm和predict.ppm(例如),以决定何时把一个大的计算成块。默认为2^24=16777216的。
The maximum value of n for which runif(n) will not generate an error (possible errors include failure to allocate sufficient memory, and integer overflow of n). An attempt to generate more than this number of random points triggers a warning from runifpoint and other functions. Defaults to 1e6.
的最大值n的runif(n)不会产生一个错误(可能的错误包括未能分配足够的内存,和整数溢出n)。尝试超过这个数量的随机点产生更多的触发警告runifpoint等功能。默认为1e6的。
The default expansion factor (area inflation factor) for expansion of the simulation window in rmh (see rmhcontrol). Initialised to 2.
默认膨胀系数(区域通货膨胀因素)扩展的模拟窗口中rmh(见rmhcontrol“)。初始化为2。
One of the strings 'off', 'on' or 'test' determining whether to use accelerated C code to evaluate the conditional intensity of a Gibbs model. Initialised to 'on'.
的字符串'off','on'或'test'确定是否使用加速的C代码的Gibbs模型,以评估有条件的强度。初始化为'on'。
Logical. Indicates whether to use accelerated C code to evaluate density.ppp(X, at="points") Initialised to TRUE.
逻辑。指示是否使用加速的C代码,以评估density.ppp(X, at="points")初始化为TRUE。
Integer. Number of trial values of smoothing bandwidth to use for cross-validation in bw.relrisk and similar functions.
整数。数试验值的平滑带宽使用bw.relrisk和类似的功能进行交叉验证。
Logical value, determining whether the algorithm in psstG removes or retains the contributions to the function from pairs of points that are identical. If these are retained then the function has a jump at r=0. Initialised to TRUE.
逻辑值,确定是否在psstG算法删除或保留的功能是相同的点,从对的贡献。如果这些被保留,那么该函数有一个跳跃r=0。初始化为TRUE。
Logical value, determining whether the algorithm in Kcom and Kres removes or retains the contributions to the function from pairs of points that are identical. If these are retained then the function has a jump at r=0. Initialised to TRUE.
的算法逻辑值,决定是否在Kcom和Kres的贡献点是相同的功能,对删除或保留。如果这些被保留,那么该函数有一个跳跃r=0。初始化为TRUE。
Single integer, controlling the accuracy of the discrete approximation of areas computed in the function psstA. The area of a disc is approximated by counting points on an n * n grid. Initialised to 32.
单个整数,控制的区域中计算的功能psstA的离散逼近的精度。的盘的面积近似n * n网格上的点计数。初始化为32。
Single integer, determining the number of distances r at which the function psstA will be evaluated (in the default case where argument r is absent). Initialised to 30.
一个整数,确定的距离r的功能psstA将评估(在默认情况下,参数r缺席)。初始化为30。
Logical. If TRUE, the algorithm of project.ppm will be accelerated using a shorcut. Initialised to FALSE.
逻辑。如果TRUE,算法的project.ppm将加速使用shorcut。初始化为FALSE。
Logical. For software development purposes only. Do not change these values, unless you are Adrian Baddeley.
逻辑。对于软件开发的目的。不要改变这些值,除非你是阿德里安·巴德利。
New default values for the parameters p, q and nrep in the Metropolis-Hastings simulation algorithm. These override the defaults in rmhcontrol.default.
新的默认的参数值p,q和nrep在大都市黑斯廷斯仿真算法。这些覆盖默认值rmhcontrol.default。
Default rule used by print.ppm to decide whether to calculate and print standard errors of the estimated coefficients of the model. One of the strings "always", "never" or "poisson" (the latter indicating that standard errors will be calculated only for Poisson models). The default is "poisson" because the calculation for non-Poisson models can take a long time.
默认规则使用print.ppm,以决定是否计算和打印模型的估计系数的标准误差。的字符串"always","never"或"poisson"泊松模型将只计算标准误差(后者)。默认值是"poisson"因为非泊松模型的计算可能需要很长的时间。
Default number of voxels in a 3D image, typically for calculating the distance transform in F3est. Initialised to 4 megavoxels: nvoxel = 2^22 = 4194304.
的体素中的3D图像,通常用于计算距离变换F3est默认数量。初始化为4 megavoxels:nvoxel = 2^22 = 4194304。
Logical. Whether to use fast or slow algorithm to compute the (theoretical) K-function of a log-Gaussian Cox process for use in lgcp.estK or Kmodel. The slow algorithm uses accurate numerical integration; the fast algorithm uses Simpson's Rule for numerical integration, and is about two orders of magnitude faster. Initialised to FALSE.
逻辑。是否使用或快或慢的算法来计算(理论)K功能的log高斯Cox过程,使用lgcp.estK或Kmodel。缓慢的算法使用精确数值积分的快速算法使用辛普森数值积分的规则,是约两个数量级的速度。初始化为FALSE。
If no arguments are given, the current values of all parameters are returned, in a list.
如果没有给出参数,所有参数的当前值被返回,在列表中。
If one parameter name is given, the current value of this parameter is returned (not in a list, just the value).
如果一个参数的名称,此参数的当前值被返回(而不是在一个列表中,只是值)。
If several parameter names are given, the current values of these parameters are returned, in a list.
如果给出了几个参数名称,这些参数的当前值被返回,在列表中。
If name=value pairs are given, the named parameters are reset to the given values, and the previous values of these parameters are returned, in a list.
如果name=value对命名参数复位为给定值,这些参数以前的值返回,在一列。
值----------Value----------
Either a list of parameters and their values, or a single value. See Details.
无论是列表中的参数和它们的值,或单个值。查看详细信息。
(作者)----------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----------
options
options
实例----------Examples----------
# save current values[保存当前设置]
oldopt <- spatstat.options()
spatstat.options("npixel")
spatstat.options(npixel=150)
spatstat.options(npixel=c(100,200))
spatstat.options(par.binary=list(col=grey(c(0.5,1))))
spatstat.options(par.persp=list(theta=-30,phi=40,d=4))
# see help(persp.default) for other options[其他选项帮助(persp.default)]
# revert[还原]
spatstat.options(oldopt)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|