Binomial proportion response with its number of trials
binm.RdBuilds a single proportion response for binomial mmes fits from
counts of successes and failures (or trials). The number of trials travels with
the proportion as an attribute and is used as the binomial prior weight, so the
single-response interface of mmes is preserved.
Details
The result is successes/trials with class "binm" and attribute
"trials". Subsetting keeps the trials aligned, so the vector can be stored
as a data-frame column. Missing counts give a missing response, handled by the
naMethodY rules of mmes. Fitting a proportion without binm
treats every value as one trial, which is wrong unless all trials equal one.