Random number generation with RDataFrame

Are there any examples of this with RDataFrame? I saw this thread, where it was recommended to use DefineSlot to access an array of random number generators, but I’m still fairly new to C++ and don’t understand how to implement that.