Suppose this is my datasetI need calculate frequency for two groupsand for variable var1, calculate count of 1 value and 2 value. For each group. So the desired output
I have a list of lists, containing data.frames, from which I want to select only a few rows. I can achieve it in a for-loop, where I create a sequence based on the amount of rows and select only row indices according to that sequence.