The primary finding was an error that is generated when you pass integer x data into eta_covariate(); that function dispatches to cont_cat() which will generate an error, asking for factor, character or logical. So that dispatch is fixed.
This PR also re-factors how discrete and continuous data are detected in checks across the package. This ensures consistent adjudication in different places, specifically the handling when calling eta_covariate().
See #103
The primary finding was an error that is generated when you pass integer x data into
eta_covariate()
; that function dispatches tocont_cat()
which will generate an error, asking forfactor
,character
orlogical
. So that dispatch is fixed.This PR also re-factors how discrete and continuous data are detected in checks across the package. This ensures consistent adjudication in different places, specifically the handling when calling
eta_covariate()
.