Hi Meike, I’m not very familiar with R, but if you were to post a representative PHX project then I would try to show yuo how I would merge (or Join) two sets.
Alternatively I would use the option External software>Rshell, to launch the R send my code and data there and return the results into Phoenix where it can be picked up for the next step(s),
You can use the data tool crossproduct to do what you are asking for. I have attached a Phoenix project that I think might help you understand this data tool. In the results, look at worksheet BA.
I saw your workflow and this is exactly what I was looking for! So thank you so much. I tried cross product before, but did not think about first filtering the null doses out.