downLog-methods(sampSurf)
downLog-methods()所属R语言包:sampSurf
Methods for "downLog" Object Construction
“downLog”对象的构造方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
There are currently two available methods for the generic downLog. These methods generate objects of class "downLog" that are valid objects. This is the preferred method for generating such objects, rather than using new.
目前有两种方法可用的通用downLog。这些方法生成的类的对象都是有效对象downLog“。产生这样的对象,这是首选的方法,而不是使用new。
方法----------Methods----------
This constructor will be used when the signature argument is "missing." When object is missing, the taper data is generated from the internal taper function between the buttDiam and topDiam diameters specified, in nSegs sections. The taper function used is documented in “The Stem Class” vignette and references for "downLog." The following arguments are part of the function call; all arguments with the same names as class slots are also defined in the class definition (and may be stored
这个构造函数的特征参数时,将使用“失踪”。object是missing,锥度数据产生的内锥功能之间的buttDiam和<X >直径指定,在topDiam部分。锥形使用的功能被记录在“干类”的小插曲和参考“nSegs”。下列参数的函数调用的一部分,也被定义在类槽具有相同名称的所有参数类定义(并且可以存储
usage...
使用...
buttDiam: The large-end diameter. For object creation, units are in either inches or cm. Internally, within the object, they are stored in the same units as length: feet or meters, depending on the value for units.
buttDiam:大端直径。对于对象的创建,单位是英寸或厘米。在内部,在对象,他们都存储在同一个单位长度:英尺或米,根据的值units。
topDiam: The small-end diameter with same units as large-end.
topDiam:小端直径相同的单位大。
logLen: The log length in meters or feet, depending on units.
logLen:记录长度以米或英尺,根据units。
nSegs: The number of log segements to be generated from the taper function for the "missing" signature. Note that there will be nSegs+1 diameter measurements for the log taper.
nSegs:log分水产生的“丢失”的签名锥的功能。注意将有nSegs+1的直径测量的log锥度。
solidType: The type of solid for the default taper equation; the range is from 1 to 10, with 1 being a neiloid, 2 a cone and 3 a paraboloid. NULL is the default, when the object argument is missing it defaults to a value of 3.
solidType:类型的固体为默认的锥度方程;范围是从1到10,其中1是一个neiloid,2和3的锥抛物面。 NULL是默认情况下,object参数缺少缺省情况下,它的值是3。
logAngle: The log lie angle specified from the center of the log. It can take a value from 0 to 2*pi and is releative to East being zero.
logAngle:从原木中心的log谎言角度。它的值从0到2*pi和是相关联系东为零的。
logVol: The log volume if precomputed, otherwise, if NULL, the log volume will be computed from the taper volume equation or Smalian's formula if solidType=NULL.
的log卷logVol:如果预先计算的,否则,如果NULL,log卷将计算出的锥度量方程或Smalian的公式,如果solidType=NULL。
surfaceArea: The log surface area if precomputed, otherwise, if NULL, the log surface area will be computed from the taper equation or spline approximation.
surfaceArea:如果预先计算的log表面积,否则,如果NULL,原木表面区域将被削度方程或样条曲线近似计算。
coverageArea: The log coverage area if precomputed, otherwise, if NULL, the log coverage area will be computed from the taper equation or spline approximation.
coverageArea:如果预先计算的log覆盖范围内,否则,如果NULL,的log覆盖面积将被削度方程或样条曲线近似计算。
biomass: The log woody biomass if precomputed, otherwise, if NA, the log biomass will be computed from the volume and vol2wgt conversion.
biomass:如果预先计算的log木质生物质,否则,如果NA,的log生物质将被计算出来的体积和vol2wgt转换。
vol2wgt: The volume to weight conversion factor. If NA and biomass is passed, then it will be computed.
vol2wgt:体积重量换算因子。如果NA和biomass传递,然后它会被计算。
carbon: The log carbon content if precomputed, otherwise, if NA, the carbon content will be computed from the biomass and wgt2carbon conversion.
carbon:log中碳的含量,如果预先计算,否则,如果NA,碳含量将计算从生物质和wgt2carbon转换。
wgt2carbon: The weight to carbon conversion factor. If NA and carbon is passed, then it will be computed.
wgt2carbon:碳转换系数的权重。如果NA和carbon传递,然后它会被计算。
centerOffset: The log center position that will be used for the location slot. This is a vector of length two with names "x" and "y"; note that it can be length three with a "z" coordinate, but it is not used anywhere currently.
centerOffset:log的中心位置,将用于location插槽。名称“×”和“y”的,这是一个向量的长度为2,注意,它可以是一个“Z”坐标长度3与,但目前还没有任何地方使用。
species: Some species identifier as a character string.
species:有些种类的标识符作为一个字符串。
logID: Each log should have its own unique identifier that is used in constructing the Polygons object for the perimeter. This becomes very important when combining individual logs into a population or collection via the container class "downLogs." If nothing is supplied, a random ID is generated.
logID“:,每个log应该有其自己唯一的标识符,用于的周边建设Polygons对象的。在结合成人口或收集的个人log时,通过“downLogs。”如果没有提供,随机ID生成容器类,这已成为非常重要的。
description: A character vector description of the log.
description:一个字符向量描述的log。
userExtra: Anything else that one wants to carry along with the log.
userExtra:还有其他人愿意随身携带的log。
units: Either “English” or “metric”. These must be conformable with the projection in spUnits.
units:“英语”或“公制”。这些都必须按照spUnits投影。
spUnits: A valid CRS object specifying the Coordinate Reference System. This defaults to NA, which means you want to use your own user-defined system, say for a sample plot where the log has been located in the field.
spUnits:有效的CRS对象指定的坐标参考系统。此默认NA,这意味着你要使用自己的用户定义的系统,说一个样地在现场位于该log已被。
runQuiet: TRUE: no feedback during object creation; FALSE: prints some information along the way.
runQuiet:TRUE:对象的创建过程中没有反馈,“FALSE:沿途打印一些信息。
... : Other arguments to be passed along.
...其他参数传递下去。
When object is a "data.frame," then it is assumed that the data frame contains the taper data in the form of diameters and lengths (as columns with labels "diameter" and "length", respectively), with diameters in the same units as length. All arguments except those listed below are the same as in
当object是一个“数据框”,那么它被假定,在数据框中包含的锥的直径和长度的形式中的数据(作为与标签“直径”和“长度”的列,分别),与在相同的单位长度的直径。除了下面列出的所有参数中的相同
usage...
使用...
object: A data frame (see note below).
object:数据框(看到下面的注释)。
solidType: NULL is the default, because it is assumed that the taper data are from field measurements or have been generated from a different taper equation where this would not be a meaningful parameter. One can therefore have an educated guess about the genesis of taper data within an object by querying this slot in the completed object.
solidType:NULL是默认的,因为它是假定锥数据是从实地测量的,或已被从不同锥度方程生成的,这不会是一个有意义的参数。因此,人们可以有一个受过教育的猜测内锥度数据的成因对象通过查询该插槽中完成的对象。
logVol: The log volume if precomputed, otherwise, if NULL, the log volume will be computed from the taper data frame using Smalian's method.
logVol:log卷,如果预先计算的,否则如果NULL,log卷将计算出的锥度数据框Smalian的方法。
注意----------Note----------
It may not be immediately apparent how the taper data in the data frame is to be structured, if you have this data available either from measurements, or from a different taper equation. The best way to check this out is to simply create a dummy "downLog" object and then show or print it for a summary, which will show the first few records of the structure. If that is not enough, then you can look at the structure with the @ operator applied to the object's taper slot. Please also see the vignette mentioned above. Remember, the diameters in the taper data frame are expected to be in the same units as length for a data frame.
这可能不会立即明显的锥度数据框中的数据结构,如果你有这样的数据无论是从测量,或从不同的削度方程。检查了这一点,最好的办法是简单地创建一个假的“downLog”的对象,然后show或print它的摘要,这将显示第一个记录的结构。如果这是不够的,那么你可以看看结构与@运营商应用对象的taper插槽。另请参阅上面提到的小插曲。请记住,在锥度数据框的直径被预计是在作为一个数据框的长度为相同的单位。
(作者)----------Author(s)----------
Jeffrey H. Gove
参见----------See Also----------
The "downLog" class and the downLog generic.
“downLog”类和downLog通用。
实例----------Examples----------
#create a downLog object and show it[创建一个downLog的对象和显示]
dl = downLog(buttDiam=20, solidType=2.1, logAngle=pi/3)
summary(dl)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|