standingTree-methods(sampSurf)
standingTree-methods()所属R语言包:sampSurf
Methods for standingTree Object Construction
standingTree对象的构造方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
There are currently two available methods for the generic standingTree. These methods generate objects of class "standingTree" that are valid objects. This is the preferred method for generating such objects, rather then using new.
目前有两种方法可用的通用standingTree。这些方法生成的类的对象都是有效对象standingTree“。这是首选的方法,产生这样的对象,而不是使用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 (derived internally from taper data) and topDiam diameters for the tree, in nSegs sections. The taper function used is documented in “The Stem Class” vignette and references for "standingTree." The following arguments are part of the function call; all arguments with the same names as class slots are also defined in the class
此构造函数将被用来当签名的说法是“失踪”,当object是missing,锥度数据产生的内锥功能之间的buttDiam(源自内部锥度数据)和topDiam直径的树,在nSegs部分。锥形使用的功能被记录在“干类”的小插曲和参考“standingTree”。下列参数的函数调用的一部分,也被定义在类槽具有相同名称的所有参数在类
usage...
使用...
dbh: The breast-height diameter. For object creation, units are in either inches or cm. Internally, within the object, they are stored in the same units as height: feet or meters, depending on the value for units.
dbh:胸高直径。对于对象的创建,单位是英寸或厘米。在内部,在对象,他们被保存在高度相同的单位:米或英尺,根据的值units。
topDiam: The tree diameter at the tip with same units as dbh.
topDiam:在顶端的树直径相同的单位dbh。
height: The tree height in meters or feet, depending on units.
height:树高以米或英尺,根据units。
nSegs: The number of height segements to be generated from the taper function for the "missing" signature. Note that there will be nSegs+1 diameter measurements for the tree taper.
nSegs:高度分水产生的“丢失”的签名锥的功能。请注意,会有nSegs+1树锥的直径测量。
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. When the object argument is missing it defaults to a value of 3.
solidType:类型的固体为默认的锥度方程;范围是从1到10,其中1是一个neiloid,2和3的锥+抛物面。当object参数缺少它默认的值是3。
treeVol: The tree volume if precomputed, otherwise, if NULL, the tree volume will be computed from the taper volume equation or Smalian's formula if solidType=NULL.
立木蓄积量treeVol:如果预先计算的,否则,如果NULL,立木蓄积量计算的锥形量方程或Smalian的公式,如果solidType=NULL。
surfaceArea: The tree surface area if precomputed, otherwise, if NULL, the tree surface area will be computed from the taper equation or spline approximation.
surfaceArea:树表面积如果预先计算的,否则,如果NULL,树表面积将被削度方程或样条曲线近似计算。
biomass: The tree stem woody biomass if precomputed, otherwise, if NA, the tree biomass will be computed from the volume and vol2wgt conversion.
biomass:树干木质生物质,如果预先计算的,否则,如果NA,树生物量将计算出的体积和vol2wgt转换。
vol2wgt: The volume to weight conversion factor. If NA and biomass is passed, then it will be computed.
vol2wgt:体积重量换算因子。如果NA和biomass传递,然后它会被计算。
carbon: The tree carbon content if precomputed, otherwise, if NA, the carbon content will be computed from the biomass and wgt2carbon conversion.
carbon:树的碳含量,如果预先计算的,否则,如果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 tree's center position (pith at dbh) 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:树的中心位置(dbh髓),将用于location插槽。名称“×”和“y”的,这是一个向量的长度为2,注意,它可以是一个“Z”坐标长度3与,但目前还没有任何地方使用。
species: Some species identifier as a character string.
species:有些种类的标识符作为一个字符串。
treeID: Each tree should have its own unique identifier that is used in constructing the Polygons object for the perimeter. This becomes very important when combining individual trees into a population or collection via the container class "standingTrees." If nothing is supplied, a random ID is generated.
treeID:每棵树都应该有自己独特的标识符,用于的周边建设Polygons对象的。相结合的人口或收集到的个别树木通过“standingTrees。”如果没有提供,随机ID生成容器类时,这已成为非常重要的。
description: A character vector description of the tree.
description:一个字符向量描述的树。
userExtra: Anything else that one wants to carry along with the tree.
userExtra:还有其他人愿意随身携带的树。
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 tree has been located in the field.
spUnits:有效的CRS对象指定的坐标参考系统。此默认NA,这意味着你要使用自己的用户定义的系统,说一个样地在现场位于那里的树已被。
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 heights (as columns with labels "diameter" and "height", respectively), with diameters in the same units as height. 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是默认的,因为它是假定锥数据是从实地测量的,或已被从不同锥度方程生成的,这不会是一个有意义的参数。因此,人们可以有一个受过教育的猜测内锥度数据的成因对象通过查询该插槽中完成的对象。
treeVol: The tree volume if precomputed, otherwise, if NULL, the tree volume will be computed from the taper data frame using Smalian's method.
treeVol:立木蓄积量如果预先计算的,否则,如果NULL,立木蓄积量将计算出的锥度数据框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 "standingTree" 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.
这可能不会立即明显的锥度数据框中的数据结构,如果你有这样的数据无论是从测量,或从不同的削度方程。检查了这一点,最好的办法是简单地创建一个假的“standingTree”的对象,然后show或print它的摘要,这将显示第一个记录的结构。如果这是不够的,那么你可以看看结构与@运营商应用对象的taper插槽。另请参阅上面提到的小插曲。请记住,在锥度数据框的直径被预计是在作为一个数据框的长度为相同的单位。
(作者)----------Author(s)----------
Jeffrey H. Gove
参见----------See Also----------
The "standingTree" class and the standingTree generic.
“standingTree”类和standingTree通用。
实例----------Examples----------
#create a standingTree object and show it[创建一个standingTree的对象,并显示它]
st = standingTree(dbh=20, solidType=2.1)
summary(st)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|