The solution seems quite simple, but I can't find the code that works. I just try to run the following SAS code in RStudio :
proc ttest data=jump_data;
var JFM_BJH;
class clc_sex;
where ageg=2;
run;
ageg = age groups and this categorical variable has 5 levels.
Thank you very much in advance