# \donttest{
# import aRchi file
aRchi=system.file("extdata","Tree_2.aRchi",package = "aRchi")
aRchi = aRchi::read_aRchi(aRchi)
# smooth skeleton
aRchi = smooth_skeleton(aRchi)
# segment annual shoots
aRchi = aRchi::segment_annual_shoots(aRchi,tree_age = 13)
plot(aRchi,color="annual_shoots",bg = "white")
# }
Run the code above in your browser using DataLab