choonghyunryu / dlookr

Tools for Data Diagnosis, Exploration, Transformation
https://choonghyunryu.github.io/dlookr/
208 stars 35 forks source link

error of summary.compare_category() #61

Closed choonghyunryu closed 2 years ago

choonghyunryu commented 2 years ago

If the 'marginal' argument of summary.compare_category() is TRUE, the following error occurs when a variable with one level of categorical data is included.

Error in margin.table(relative[[j]], 1) : 'x' is not an array

choonghyunryu commented 2 years ago

fixed