R - How to assign a set of vectors to a specific subset of a data.frame, defined by a factor combination?
How to assign a counter to a specific subset of a data.frame which is defined by a factor combination?