florianhartig / DHARMa

Diagnostics for HierArchical Regession Models
http://florianhartig.github.io/DHARMa/
201 stars 21 forks source link

error with running gam model for small dataset #344

Closed milliongodana closed 1 year ago

milliongodana commented 1 year ago

I would appreciate if anyone has a solution for this kind of error in running gam model

Error in smooth.construct.tp.smooth.spec(object, dk$data, dk$knots): A term has fewer unique covariate combinations than specified maximum degrees of freedom

florianhartig commented 1 year ago

Hello,

this is a duplicate of #145, please have a look there.

Best, Florian