# NOT RUN {
#Point cloud
data("pc_tree")
#Subset region at at breast height
sub <- pc_tree[between(Z, 1.25, 1.35),]
#Fit circle
circleRANSAC(sub, fpoints = 0.2, pconf = 0.95, poutlier = c(0.5, 0.5), max_iterations = 100)
# }
Run the code above in your browser using DataLab