I have done a individual tree segmentation using lidR and the resulting LAS file now has been classified so that all points belonging to a tree have a unique treeID. So far so good!
But before writing the LAS file I would like to add High, Medium and Low vegetation to the trees as well. So for example if a tree have a height of let say 5 meter it should be classified as Low vegetation (classification = 3) and between 5 to 10 meters should be classified to Medium vegetation (classification = 4) and so on. I cant figure out how to do it, is this possible using lidR?