I’m trying to use JuliaDB to load tables and then use MixedModels to fit models.
The MixedModels package requires the clustering variable “id” to be categorical, but in my dataset “id” is integer.
So my question is, how can I change the type of “id” to categorical after loading the table? One solution is to convert the table to a DataFrame and then change the type, but I’m sure there are better solutions.