Hi! I'm new at this so I don't know if I've written this in the right place!
I'm trying to make a histogram of two means to compare them. I am comparing sex (Male and Female) and their average of a total. I would like to compare the two sexes average results, however I'm not sure how to do it. So far I have done
Price Total) #to collect the mean values
I then don't know how to insert these into a histogram, I tried to rename them using the following code (used the same code for Female, F) but when I put them into a histogram it says " 'x' must be numeric."
I also tried to build a histogram the code below, however nothing came from it.
I'm wondering if anyone has advice on what I've done wrong or how to solve this?