Re: [R-sig-eco] Error in run GAM (Biomod 2)

2019-03-18 Thread Lara Silva
Thanks for the information. Drew Tyre escreveu no dia segunda, 18/03/2019 à(s) 11:48: > I don't think the number of presences is the problem. > "A term has fewer unique covariate combinations than specified maximum > degrees of freedom" > One of your covariates has a small number of unique

Re: [R-sig-eco] Error in run GAM (Biomod 2)

2019-03-18 Thread Drew Tyre
I don't think the number of presences is the problem. "A term has fewer unique covariate combinations than specified maximum degrees of freedom" One of your covariates has a small number of unique values. lapply(your_data_frame, function(x)length(unique(x))) will print out the number of unique

[R-sig-eco] Error in run GAM (Biomod 2)

2019-03-18 Thread Lara Silva
Hello I am trying to run several algorithms in biomod 2 (GLM, GAM, ANN, SRE) but I received the following menssage. Model=GAM GAM_mgcv algorithm chosen Automatic formula generation... > GAM (mgcv) modelling...Error in smooth.construct.tp.smooth.spec(object, dk$data,