python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Interquartile range for categorical data
I have been asked to report the descriptive statistics of my results in terms of IQR and median for my categorical variables but I do not know how I can do that! I know the logic but in continuous dat...

Aura
Votes: 0
Answers: 1
Grouping 2 categorical variables with geom_boxplot
I have tried some examples I found here but I always get an error or a different graph from what I need (e.g. lines instead of the boxplot, or only 2 boxes instead of 4).
I want to plot the following
...
Sofia
Votes: 0
Answers: 1
File format that holds information about categorical data (i.e. factor levels) and is readable by SPSS
I'm doing data cleaning of survey data in R, but at the end I have to export it into a format that is readable by SPSS. When I export data from R as CSV, categorical data with already defined factor l...
Madamadam
Votes: 0
Answers: 0
R dplyr mutate: creating one variable from multiple column variables using "or" logic
I am trying to do something that I think is straightforward but I am having an issue with.
I have several medication-related column variables (med_1, med_2, med_3 for example). These are character var...
Kate G
Votes: 0
Answers: 2