strengejacke / sjPlot

sjPlot - Data Visualization for Statistics in Social Science

Home Page:https://strengejacke.github.io/sjPlot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning message with sjt.xtab

gustavobrp opened this issue · comments

I'm getting a warning message while using the sjt.xtab, even though it works fine. I'm currently working on R 4.1.1.

teste <- tribble(~colA, ~colB,
                 "M", "N",
                 "H", "N",
                 "H", "N",
                 "M", "B",
                 "H", "B",
                 "M", "B")

sjPlot::sjt.xtab(teste$colA,
                 teste$colB)

image

Warning message: In sprintf(" <td class=\"summary tdata\" colspan=\"%i\">%s=%.3f &middot; df=%i &middot; %s=%.3f &middot; %s=%.3f</td>", : one argument not used by format ' <td class="summary tdata" colspan="%i">%s=%.3f &middot; df=%i &middot; %s=%.3f &middot; %s=%.3f</td>'

Same issue here. Output is fine, I just receive the error message.