# \donttest{
# import aRchi file
aRchi=system.file("extdata","Tree_2.aRchi",package = "aRchi")
aRchi = aRchi::read_aRchi(aRchi)
# plot original skeleton
plot(aRchi)
# smooth skeleton
aRchi = aRchi::smooth_skeleton(aRchi)
# plot smoothed skeleton
plot(aRchi)
# }
Run the code above in your browser using DataLab