Extract data sample from a single tree using randomForest

Hello there,

It is going to be a lot easier if you can provide a simple example/reprex and then we can take it from there. See here: FAQ: How to do a minimal reproducible example ( reprex ) for beginners