Lattice Grid Buy a licence

The grid (core) ยท console.warn

compareGroups: the chosen test had too little to work with (too few values, or no variation).

Printed by The grid (core), prefixed [lattice], since 1.27.0.

Warnings referencecompareGroups:degenerate

Identifier
compareGroups:degenerate
Raised by
The grid (core)
Since
1.27.0

What happened

The test ran and could not produce a statistic: too few values in one group, or no variation at all within them (every value identical, so the variance is zero). null is returned rather than a p-value computed from a degenerate sample.

The fix

Compare groups with more rows, or check that the measure actually varies within them.

Reference

Covered in full at the API reference.