View source: R/TreeStructs_methods.r
assign_cyls_to_crown.TreeStructs | R Documentation |
Assigns cylinders to crown and stem based on where the first branch occurs
Assigns logical crown column in a treestruct dataframe
## S3 method for class 'TreeStructs'
assign_cyls_to_crown(obj, daughter_threshold = 0.25)
## Default S3 method:
assign_cyls_to_crown(ts, first_branch_id)
obj |
Treestructs object |
daughter_threshold |
Proportion of the radius of the parent branch that daughter branches must attain for a furction to be counted as the first branch, Default: 0.25 |
ts |
treestruct dataframe |
Returns NA if no significant furcations found
Returns NA in crown column if no first branch was found
treestruct object with crown column assigned
treestruct dataframe
## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.