Error: A proportion is not well-defined for a multinomial categorical response variable (result) and no explanatory variable.
In addition: Warning message:
You have given `type = "bootstrap"`, but `type` is expected to be `"draw"`. This workflow is untested and the results may not mean what you think they mean.
causes error: