Hello,
I am trying to create a way to display a data index I have created for coral rugosity (data attached).
The Stata dot plot graph is the best way I have found to present this data using the code: graph dot index, over(genus, sort((mean) index)) to give the attached result after a little editing.
However, each coral is also part of a morphotype group (branching, columnar etc.) that I would like to be distinguished. Is there a way I can add the data separately for each morphotype, with the data for each colour coded? Array
Many thanks,
Emi
Related Posts with Dotplot with multiple variables
Splitting follow-up time in monthsHi, this may seem very basic, but I’m quite new to Stata - I need to compare incidents rates of mort…
Counting and storing the value in a new variableI am trying to calculate the number of earners by household and then storing this number in a new va…
Changing the order of bars in a box plotHi! I want to make a box plot of distribution of 6 different scores (score 1-6) by a grouping varia…
STATA Econometrics modelHey guys, I have another question where I'd like to hear your opinion on. I am currently working on…
Two digit year to four digit year for date makingHello Statalist, I need to use "gen start_date = mdy(month, day, year)" to get a date var. However, …
Subscribe to:
Post Comments (Atom)
0 Response to Dotplot with multiple variables
Post a Comment