Lattice Grid Buy a licence

The grid (core) ยท console.warn

compareGroups: {test} needs a numeric column, but the column is not numeric.

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

Warnings referencecompareGroups:numeric-override

Identifier
compareGroups:numeric-override
Raised by
The grid (core)
Since
1.27.0

What happened

A specific test was forced - Welch's t-test or Mann-Whitney - and both compare numeric distributions. The column is not numeric, so the test cannot be run and the call returns null rather than coercing values into numbers.

The fix

Drop the test override and let the column family choose (a categorical column gets a chi-square), or compare a numeric column.

Reference

Covered in full at the API reference.