This function returns a parsnip::model_spec for a Generalised Linear Model to be used as a classifier of presences and absences in Species Distribution Model.
Arguments
- ...
parameters to be passed to
parsnip::logistic_reg()
to customise the model. See the help of that function for details.- tune
character defining the tuning strategy. As there are no hyperparameters to tune in a glm, the only valid option is "none". This parameter is present for consistency with other
sdm_spec_*
functions, but it does nothing in this case.
Value
a parsnip::model_spec of the model.
See also
Other "sdm model specifications":
sdm_spec_boost_tree()
,
sdm_spec_gam()
,
sdm_spec_maxent()
,
sdm_spec_rand_forest()