Plotting OddsRatio in a Table
I am trying to report the prevalence’s and plot the Odds Ratio in a descriptive table something similar to this Post by R for Health Data Science Book. This creates a forest plot. Since I have other values so I cant use finalfit
package but I tried to produce the same table by following the Answer-2 of this Question. I already made the descriptive Table and plotted the odds ratio with dummy values but some of the columns are not showing or crossing, for instance Non-MM and MM
. Secondly, the group Sex and its subgroup Male
is not showing. It might be the formatting issue but I couldn’t find it. You can find the snap with highlighted areas and its code, as they mentioned in the code. Thanks