Skip to contents

Check if random effect means sum-to-zero.

Usage

check_sum_to_zero(result, idx)

Arguments

`result`

The result of a call to `multinomial_model()`.

`idx`

A random effects indentifier string name such as `"area_idx"`

Value

A vector of sums of the random effect mean over its indicies.