A part of my code (dataset = work.solutions): array letters{26} numA numB numC numD numE numF numG numH numI numJ numK numL numM numN numO numP numQ numR numS numT numU numV numW numX numY numZ; letterSet='abcdefghijklmnopqrstuvwxyz'; do i=1 to 26; letters{i}=countc(word, substr(letterSet, i, 1)); end; drop letterSet i; (In this code, I am counting occurrences of letters and storing them in respective variables) MEANS Procedure (Sum): I wish to create a bargraph (not boxplot) out of this data, which is as follows: The x-axis contains each variable in the array, and the y-axis stores each frequency. I could not find any resource for doing this with multiple variables, and since the array name is not a variable, I could not use that either. Any ideas or workarounds I could implement? Thanks! Edit: some more context The dataset is a list of possible combinations in WORDLE. Each has five letters and have been cleaned to be lowercase. I have counted each letter in the word using a do loop, and stored them in an array of variables called letters. I have also used PROC MEANS to get the total frequency of each variable. My end result is to get a bar graph of the frequency of each variable. I guess I accidentally put box plot, sorry
... View more