Open lahvak opened 5 years ago
Sorry for missing this when you posted it.
margins = TRUE
gets passed along to tally()
to get the counts. That ends up creating an extra row in the table. We should either ignore that argument or fail with a useful message. I'm going to consider this a bug.
One of my students was cutting a pasting code and editing it, changing
tally
todiffprop
, and forgot to remove themargin = TRUE
parameter, which produced a strange number. Example:Created on 2019-11-01 by the reprex package (v0.2.1)
What does the
margin = TRUE
do in diffprop?