occage=findgroups(x.occupation,x.Age)
I want to find the distribution for both age and occupation
For occupation I have figured it out:
[occage, ID] =findgroups(x.occupation,x.Age)
but Im stuck on age, how do I get the 'ID' for that/ how do I get the way the groups have been split for that?