Description Usage Arguments Details Value
View source: R/class_definitions.R
The function tree_sample
creates tree sample objects. Such objects
assign individual tree information from the population to the sample
locations following a particular response design. The function is only used
internally by extract_data
.
1 | tree_sample(data, r_design, r_design_parm)
|
data |
A |
r_design |
A |
r_design_parm |
A response design specific parameter of type
|
The data.table
object (data
) should
have the following columns:
id_sample
id_point
id_tree
id_stem
x_tree
y_tree
is_dead
dbh
ba
n
f_edge
ef
Some response designs (currently only k_tree
), may have
additional alternative expansion factors as optional approximations, where
unbiased estimators are missing or difficult to derive. As the column names
for these alternatives ef_alt1
and ef_alt2
are used.
$data
A data.table
object as described above.
$r_design
$r_design_parm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.