downLogs-methods(sampSurf)
downLogs-methods()所属R语言包:sampSurf
Methods for "downLogs" Object Construction
“downLogs”对象建设的方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The following are the constructor methods for class “downLogs” in Package sampSurf. Please see “The Stem Class” vignette for more information and examples on the usage of the methods.
以下是类的构造函数方法“downLogs”“,在包装sampSurf。请参阅“梗类”的使用方法的详细信息和示例的小插曲。
方法----------Methods----------
Ultimately, all of the constructors end up calling this one to generate the object after they have done what they were meant to, and then converted all of the “downLog” objects into a list structure. So if one wishes, one can simply create one's own list of “downLog” objects and use
最终,所有的构造函数结束调用后,他们都做了什么,他们为了这一个生成对象,然后将所有的“downLog”对象成list结构。因此,如果一个愿望,你可以简单地创建自己的列表“downLog”对象,并使用
usage...
使用...
object: A list as discussed above.
objectAlist如上所述。
description: A character description of the collection.
description:一个字符的集合的描述。
... : Other arguments to be passed along (not used currently).
...其他参数传递(目前未使用)。
This particular method allows one to pass a data frame in the form generated from sampleLogs in object argument to construct an object of class “downLogs”. Note, however, that the data frame does not have to be created by sampleLogs, and it does not have to contain synthetic/simulated logs. As long as all of the columns are present that are generated by sampleLogs it will be used; for example, the data frame can be constructed from a field
这种特殊的方法可以通过一个数据框的形式产生的sampleLogsobject参数构造一个类的对象“downLogs”。然而,请注意,在数据框不具有要创建的sampleLogs,它不具有含有合成/模拟log。只要存在所产生的所有的列sampleLogs将使用它的数据框,例如,可以从一个字段构成
usage...
使用...
object: A data frame as discussed above.
object:一个数据框,如上面所讨论的。
units: The units of measurement.
units:计量单位。
... : Other arguments to be passed along to the downLog constructor—these apply uniformly to all logs in the collection.
...其他参数被传递给downLog构造统一适用于所有log收集。
This method will take as its first argument (object) the number of logs to be synthetically generated. The centers of the logs will all lie within the interior region of the “bufferedTract” object passed in the
此方法将作为第一个参数(object)综合生成的log。中心的log都将通过的“bufferedTract”对象的内部区域范围内
usage...
使用...
object: A numeric (truncated to integer) object specifying the number of logs to generate as discussed above.
object:一个数字(截断为整数)指定的log产生如上面所讨论的对象。
container: A “bufferedTract” object specifying the internal portion of the tract within which the log centers will be generated.
container:A“bufferedTract”对象指定道内将产生的log中心的内部部分。
units: The units of measurement.
units:计量单位。
... : Other arguments to be passed along to the last constructor described below.
...其他参数被传递给最后一个构造函数如下所述。
This constructor looks like it just generates logs randomly. But in reality, note the arguments below. It takes limits of a rectangular region as an alternative to specifying a bounding box matrix or a “bufferedTract” object as in two of the other constructors. Essentially, these limits get converted to a matrix
这个构造函数看起来像它只是随机生成log。但在现实中,请注意下面的参数。它作为一种替代的矩形区域指定边界盒矩阵或的“bufferedTract”中的其他构造的对象的限制。从本质上讲,这些限制被转换为矩阵
usage...
使用...
object: See explanation in the following constructor method.
object:请参阅下面的构造方法的解释。
units: The units of measurement.
units:计量单位。
xlim: Limits for the bounding rectangle in x.
xlim:在x的矩形边界的限制。
ylim: Limits for the bounding rectangle in y.
ylim:在y的矩形边界的限制。
... : Other arguments to be passed along as described in the last constructor method.
... :同时传递的最后一个构造方法中所描述的其他参数。
Like the previous constructor, the logs will be generated so that their centers lie within a rectangular area specified by the matrix object in the second argument. Note that ultimately, the synthetic population of logs is generated by a call to
像以前的构造,将产生的log内,其中心位于matrix对象中的第二个参数指定的一个矩形区域。请注意,最终,通过调用生成的log的合成人口
usage...
使用...
object: A numeric (truncated to integer) object specifying the number of logs to generate as discussed above.
object:一个数字(截断为整数)指定的log产生如上面所讨论的对象。
container: A matrix object specifically in the form of a bbox, bounding box object (e.g., see the sp package). It must be a 2x2 matrix with row names c("x","y") and the column names must be c("min","max"). The object specifies the internal portion of the tract within which the log centers will be generated.
container:Amatrix对象的bbox的形式,特别是在边界框对象(例如,见sp包)。它必须是一个2x2矩阵行名称c("x","y")和列名必须是c("min","max")。该对象指定的道内,将生成的log中心的内部部分。
units: The units of measurement.
units:计量单位。
buttDiams: A length-two vector specifying the range of butt (large-end) diameters from which to uniformly draw the sample. Note that this range is assumed to be specified in cm for metric and inches for English units.
buttDiams:两个向量的长度指定范围的对接(大)直径从中得出样品均匀。请注意,这个范围是被指定为公制和英制单位英寸厘米。
topDiams: A length-two vector specifying the range of top (small-end) diameters in the form of a proportion of the buttDiam diameters, from which to uniformly draw the sample. See also sampleLogs.
topDiams:甲长度两个矢量指定的范围内最佳的(小端)的直径在buttDiam直径,均匀地绘制样品的比例的形式。 sampleLogs。
logLens: A length-two vector specifying the range of log lengths in feet (English) or meters (metric) from which to uniformly draw the sample.
logLens:两个向量的长度指定范围的记录长度英尺(英语)或米(公制),从中得出样品均匀。
logAngles: A length-two vector specifying the range of log angles from which to draw the log lie angles; these are always counterclockwise relative to due East.
logAngles:两个向量的长度指定的log角度,从中可以得出的log谎言角的范围内,这些总是逆时针由于东。
solidTypes: A length-two vector specifying the range in the log shape parameter for the default taper and volume equations; where: 1-2 is a neiloid, 2 is a cone, and >2 is a paraboloid.
solidTypes:甲长度两个矢量指定的范围内,在log中的形状参数为默认的锥度和体积方程,其中:1-2是neiloid,图2是一个圆锥体,> 2是抛物面。
species: A character vector of possible species from which to draw the sample uniformly. This can be any legal character string, and so can include codes, names, Latin names, etc.
species:一个字符可能的种向量,从中可以得出样品均匀。这可以是任何合法的字符串,可以包括代码,名称,拉丁名等。
... : Other arguments to be passed along to sampleLogs. Note specifically that one can control the random number stream by specifying a seed to be passed to sampleLogs with its startSeed argument. Additionally, this list can also contain arguments to be ultimately passed on to the downLog constructor to be applied to each individual log in the collection. For example, one can specify the number of segments desired in the taper function (nSegs) in this way.
...其他参数被传递给sampleLogs。特别注意,一个可以控制的随机数流sampleLogsstartSeed参数被传递到指定的种子。此外,这个列表还可以包含参数最终是要转嫁到downLog构造函数被应用到集合中的每个log。例如,一个可以指定在锥度功能所需的段的数目(nSegs)以这种方式。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|