Hi
What I'm trying to do is probably right in front of me with tidyverse but I'm not that experienced in R. Here's my data:
GroupA, GroupB, x
1,1,53.1
1,1,49490
1,1,30129301
1,1,....
1,1,1973
1,2,4394829
1,2,313221
1,2,...
1,2,9090909
1,3...
1,15,967647634
...
4,1,...
4,15,...
5,1,...
5,5,877656
5,5,...
5,5,54321 (last row of data)
So in short we have 5 possible values for GroupA and 15 for Group B so each value of x can fit into one of 75 combinations of Group A and Group B.
For each combination of groups, what I want is not just the min, max, std, mean etc for each of the 75 combinations but a distribution (probably quantiles or every 5%) so I can do a frequency distribution - well 75 distributions to be precise. So for example, for each combination of GroupA and GroupB, I want R to calculate the 5th, 10th, ... 95th, 100th percentile value, then count the number of values of x for each percentile - to end up with a frequency distribution with 21 points (including 0).
I'd also like these automatically plotted (i.e. 75 charts) if possible - but not so worried about that.
What I'm really after is looking at whether any of these distributions show a long tail on either side of the mean. I've always hated box plots (and inter quartile ranges - too imprecise for me) so much prefer seeing the distribution - then I can worry about the umpteen ways of comparing distributions (coeff of skewness, kurtosis) etc.
Thanks
RM