idem-lab / map-ir-pipeline

Prototype demonstration of stacked generalisation method used in https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.3000633#sec010
3 stars 1 forks source link

Does insecticide_id need to be a factor? #62

Closed njtierney closed 3 weeks ago

njtierney commented 7 months ago

It's currently an integer, and converting it to factor breaks the analysis.

goldingn commented 3 weeks ago

The level 0 models seem to want numeric inputs. insecticide_id is the numerical encoding of the factor variable insecticide, so nothing to be gained by making it a factor