BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
hjjijkkl
Pyrite | Level 9

How to I change "week" to capital letter "Week" in 

proc freq data=alld;
table Week / NOCUM plots=freqplot;
run;

week

Frequency

Percent

1

4

2

2

1

2

3

1

5

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26
proc freq data=alld;
table week / NOCUM plots=freqplot;
label week='Week';
run;
--
Paige Miller

View solution in original post

5 REPLIES 5
PaigeMiller
Diamond | Level 26
proc freq data=alld;
table week / NOCUM plots=freqplot;
label week='Week';
run;
--
Paige Miller
hjjijkkl
Pyrite | Level 9
That didn't change it. this is the output from the code above. it only changed the label for freq count to Weeks.

Weeks
week Frequency Percent
12 49 1
24 91 2
Norman21
Lapis Lazuli | Level 10

Like this?

 

data alld ;
input Week ;
datalines;
1
1
1
1
2
3
run;

proc freq data=alld;
tables Week / NOCUM plots=freqplot;
run;
Norman.
SAS 9.4 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation