proc freq data=sashelp.class noprint;
table sex*age /nopercent out= sex_count ;
run;
even if I used nopercent but its give percent variable ?
As the Doc says: The Nopercent Option Suppresses display of percentages in the displayed output.
You can simply use a data set option like
proc freq data=sashelp.class noprint;
table sex*age / out= sex_count(drop = percent);
run;
As the Doc says: The Nopercent Option Suppresses display of percentages in the displayed output.
You can simply use a data set option like
proc freq data=sashelp.class noprint;
table sex*age / out= sex_count(drop = percent);
run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.