assign_cyls_to_crown.default: assign_cyls_to_crown.TreeStructs

Description Usage Arguments Details Value Examples

View source: R/TreeStructs_methods.r

Description

Assigns cylinders to crown and stem based on where the first branch occurs

Assigns logical crown column in a treestruct dataframe

Usage

1
2
3
4
5
## 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)

Arguments

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

Details

Returns NA if no significant furcations found

Returns NA in crown column if no first branch was found

Value

treestruct object with crown column assigned

treestruct dataframe

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

ashenkin/treestruct documentation built on Oct. 14, 2021, 1:54 a.m.