embarcadero icon indicating copy to clipboard operation
embarcadero copied to clipboard

Requiremed Number of Covariates

Open ErikKusch opened this issue 5 years ago • 1 comments

Hiya,

just partook in a workshop organised by the IBS and am pretty stoked on your package here. Wanting to run an example as simple as possible during the workshop, I opted for a model with only two environmental covariates to my binary outcome of species-presence/absence.

Unfortunately, that caused a few issues in particular with the variable.step function which seems to accommodate exclusively models with three or more covariates. I propose a check to be implemented in this function that alerts users to this fact.

Cheers, Erik

ErikKusch avatar Mar 30 '21 17:03 ErikKusch

Great idea! I'll work on implementing that. I would definitely not suggest using a regression tree approach with only one or two variables so a warning message is a good thought

cjcarlson avatar Apr 01 '21 14:04 cjcarlson