match_trees | R Documentation |
Match trees between years.
match_trees( data, stand_id, Year = "Year", filepath = "matched_trees/", save = TRUE, skipahead = TRUE )
data |
A data.frame |
stand_id |
A character with the variable name which identifies stands. |
Year |
A character with the variable name denoting different years. |
filepath |
Folder in which to store matches (creates a subfolder for each stand) |
save |
TRUE (default) / FALSE. Saves the transformed coordinates. |
tree_coords2_split <- tree_coords2 %>% group_by(standnumber,standnr2) %>% group_split(.keep = TRUE) lapply(tree_coords2_split,FUN = match_trees,stand_id = 'standnumber',Year = 'Year')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.